mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
revert changes to loot positions and added new positions for dayzero buildings fixes
This commit is contained in:
@@ -678,7 +678,6 @@ class CfgBuildingLoot {
|
||||
};
|
||||
|
||||
#include "CfgBuildingPos.hpp"
|
||||
#include "DZE\CfgBuildingPos.hpp"
|
||||
//If you want to copypast your loottable to your mission w/o
|
||||
//changing something on the lootPos then use the a include instead of copypasting the CfgBuildingPos.hpp
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -58,11 +58,11 @@ switch (_iClass) do {
|
||||
};
|
||||
}
|
||||
else {
|
||||
diag_log format["DEBUG dayz_CLBase: %1", dayz_CLBase];
|
||||
// diag_log format["DEBUG dayz_CLBase: %1", dayz_CLBase];
|
||||
_index = dayz_CLBase find _iClass;
|
||||
if (_index > 0) then {
|
||||
_weights = dayz_CLChances select _index;
|
||||
diag_log format["DEBUG dayz_CLChances: %1", dayz_CLChances];
|
||||
//diag_log format["DEBUG dayz_CLChances: %1", dayz_CLChances];
|
||||
_cntWeights = count _weights;
|
||||
_index = floor(random _cntWeights);
|
||||
_index = _weights select _index;
|
||||
|
||||
Reference in New Issue
Block a user