From bbdec2733a0080dfab4b3253e82f6ee18f5c7042 Mon Sep 17 00:00:00 2001 From: Florian Kinder Date: Sat, 15 Feb 2014 14:19:00 +0100 Subject: [PATCH] updated private variable refs #1109 --- SQF/dayz_code/init/loot_init.sqf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SQF/dayz_code/init/loot_init.sqf b/SQF/dayz_code/init/loot_init.sqf index 8b075a0eb..8f8f20c4d 100644 --- a/SQF/dayz_code/init/loot_init.sqf +++ b/SQF/dayz_code/init/loot_init.sqf @@ -1,4 +1,4 @@ -private ["_weighted","_j"]; +private ["_config","_classname","_itemChances","_itemCount","_weight","_type","_canZombie","_canLoot","_weighted","_j"]; dayz_CBLChances = []; dayz_CBLBase = []; _config = configFile >> "CfgBuildingLoot"; @@ -11,7 +11,7 @@ for "_i" from 0 to ((count _config) - 1) do { _itemChances = getArray (_config >> _classname >> "lootType"); _itemCount = count _itemChances; -//diag_log format["Classname: %1, Array: %2, Amount: %3", _classname, _itemChances, _itemCount]; + //diag_log format["Classname: %1, Array: %2, Amount: %3", _classname, _itemChances, _itemCount]; if (_itemCount > 0) then { if (dayz_CBLBase find _classname < 0) then { @@ -59,7 +59,7 @@ for "_i" from 0 to ((count (_config)) - 1) do { dayz_CLBase set [count dayz_CLBase, _classname]; //dayz_CLItemNames set [count dayz_CLBase, _items]; dayz_CLChances set [count dayz_CLChances, _weighted]; - + //diag_log format["CFGLoot: %1, Array: %2", _classname, _items]; }; //diag_log ("BaseLoot: " +str(dayz_CLBase));