From fa67ecc39fcd7944b9d81d964d01676a3107effb Mon Sep 17 00:00:00 2001 From: worldwidesorrow Date: Tue, 5 Nov 2019 14:28:34 -0600 Subject: [PATCH 1/3] Removing unused variable dayz_currentGlobalAnimals --- SQF/dayz_code/system/player_spawn_2.sqf | 1 - 1 file changed, 1 deletion(-) diff --git a/SQF/dayz_code/system/player_spawn_2.sqf b/SQF/dayz_code/system/player_spawn_2.sqf index 2286b218e..0f373434b 100644 --- a/SQF/dayz_code/system/player_spawn_2.sqf +++ b/SQF/dayz_code/system/player_spawn_2.sqf @@ -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; From f6a656fb1ce3ea4fea5a17cd314b422693e0d2c7 Mon Sep 17 00:00:00 2001 From: worldwidesorrow Date: Tue, 5 Nov 2019 14:29:41 -0600 Subject: [PATCH 2/3] Removing unused variable dayz_currentGlobalAnimals --- SQF/dayz_code/init/variables.sqf | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/SQF/dayz_code/init/variables.sqf b/SQF/dayz_code/init/variables.sqf index 9429178f3..4f441fe03 100644 --- a/SQF/dayz_code/init/variables.sqf +++ b/SQF/dayz_code/init/variables.sqf @@ -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. -}; \ No newline at end of file +}; From c6698db4165cba644122397250b18215eb706fd9 Mon Sep 17 00:00:00 2001 From: worldwidesorrow Date: Tue, 5 Nov 2019 14:30:41 -0600 Subject: [PATCH 3/3] Removing unused variable dayz_currentGlobalAnimals --- SQF/dayz_code/system/player_monitor.fsm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/SQF/dayz_code/system/player_monitor.fsm b/SQF/dayz_code/system/player_monitor.fsm index 83eec62df..da1d24379 100644 --- a/SQF/dayz_code/system/player_monitor.fsm +++ b/SQF/dayz_code/system/player_monitor.fsm @@ -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*/ \ No newline at end of file +/*%FSM*/