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

@@ -331,7 +331,6 @@ if (!isDedicated) then {
canPickup = false; canPickup = false;
pickupInit = false; pickupInit = false;
mouseOverCarry = false; //for carry slot since determining mouse pos doesn't work right mouseOverCarry = false; //for carry slot since determining mouse pos doesn't work right
dayz_currentGlobalAnimals = 0;
r_player_divideinvehicle = 0; r_player_divideinvehicle = 0;
dayz_currentWeaponHolders = 0; dayz_currentWeaponHolders = 0;
dayz_unsaved = false; dayz_unsaved = false;

View File

@@ -1972,7 +1972,6 @@ class FSM
"Dayz_loginCompleted = true;" \n "Dayz_loginCompleted = true;" \n
"" \n "" \n
"//Other Counters" \n "//Other Counters" \n
" dayz_currentGlobalAnimals = count entities ""CAAnimalBase"";" \n
" dayz_currentGlobalZombies = count entities ""zZombie_Base"";" \n " dayz_currentGlobalZombies = count entities ""zZombie_Base"";" \n
"" \n "" \n
"{" \n "{" \n

View File

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