Remove old ui_initDisplay function

This commit is contained in:
A Man
2022-05-02 12:50:57 +02:00
parent 7894c4a2be
commit 0d08f75f2d
3 changed files with 0 additions and 53 deletions

View File

@@ -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;