Merge pull request #2043 from worldwidesorrow/master

Removing unused variable dayz_currentGlobalAnimals
This commit is contained in:
A Man
2019-11-06 10:10:01 +01:00
committed by GitHub
3 changed files with 3 additions and 6 deletions

View File

@@ -330,8 +330,7 @@ if (!isDedicated) then {
inTraderCity = "Unknown Trader";
canPickup = false;
pickupInit = false;
mouseOverCarry = false; //for carry slot since determining mouse pos doesn't work right
dayz_currentGlobalAnimals = 0;
mouseOverCarry = false; //for carry slot since determining mouse pos doesn't work right
r_player_divideinvehicle = 0;
dayz_currentWeaponHolders = 0;
dayz_unsaved = false;
@@ -576,4 +575,4 @@ if (!isDedicated) then {
];
DZE_Quarantine = false; // used in player_spawn_2.sqf, but for no reason. There is no function that alters this variable.
};
};

View File

@@ -1972,7 +1972,6 @@ class FSM
"Dayz_loginCompleted = true;" \n
"" \n
"//Other Counters" \n
" dayz_currentGlobalAnimals = count entities ""CAAnimalBase"";" \n
" dayz_currentGlobalZombies = count entities ""zZombie_Base"";" \n
"" \n
"{" \n
@@ -2041,4 +2040,4 @@ class FSM
"Finish",
};
};
/*%FSM</COMPILE>*/
/*%FSM</COMPILE>*/

View File

@@ -349,7 +349,6 @@ while {1 == 1} do {
if ((diag_tickTime - _timer1) > 10) then {
_position = getPosATL player;
//Other Counters
dayz_currentGlobalAnimals = count entities "CAAnimalBase";
dayz_currentGlobalZombies = count entities "zZombie_Base";
_zeds = _position nearEntities ["zZombie_Base",200];
dayz_spawnZombies = 0;