mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-17 17:20:26 +03:00
Remove old ui_initDisplay function
This commit is contained in:
@@ -286,35 +286,6 @@ if (!isDedicated) then {
|
||||
_myExp
|
||||
};
|
||||
|
||||
/* This function doesn't appear to be necessary. Leaving it commented out for now - JasonTM.
|
||||
ui_initDisplay = {
|
||||
private ["_ctrlBleed","_ctrlFracture","_display","_control"];
|
||||
disableSerialization;
|
||||
_display = uiNamespace getVariable 'DAYZ_GUI_display';
|
||||
_control = _display displayCtrl 1204;
|
||||
_control ctrlShow false;
|
||||
if (!r_player_injured) then {
|
||||
_ctrlBleed = _display displayCtrl 1303;
|
||||
_ctrlBleed ctrlShow false;
|
||||
};
|
||||
if (!r_fracture_legs && {!r_fracture_arms}) then {
|
||||
_ctrlFracture = _display displayCtrl 1203;
|
||||
_ctrlFracture ctrlShow false;
|
||||
};
|
||||
// These controls don't exist yet
|
||||
_ctrlDogFoodBorder = _display displayCtrl 1501;
|
||||
_ctrlDogFoodBorder ctrlShow false;
|
||||
_ctrlDogFood = _display displayCtrl 1701;
|
||||
_ctrlDogFood ctrlShow false;
|
||||
|
||||
_ctrlDogWaterBorder = _display displayCtrl 1502;
|
||||
_ctrlDogWaterBorder ctrlShow false;
|
||||
_ctrlDogWater = _display displayCtrl 1702;
|
||||
_ctrlDogWater ctrlShow false
|
||||
|
||||
};
|
||||
*/
|
||||
|
||||
dayz_angleCheck = {
|
||||
private ["_degree","_tPos","_zPos","_inAngle","_agent","_target","_eyeDir"];
|
||||
_target = _this select 0;
|
||||
|
||||
Reference in New Issue
Block a user