Revert "Add faster array compare function"

This reverts commit d7cc4be585.
This commit is contained in:
ebaydayz
2016-08-23 18:22:06 -04:00
parent a323f453d2
commit 8af3d001ba
4 changed files with 2 additions and 17 deletions

View File

@@ -334,7 +334,7 @@ createCenter civilian;
actualSpawnMarkerCount = 0;
// count valid spawn markers, since different maps have different amounts
for "_i" from 0 to 10 do {
if !([(getMarkerPos format["spawn%1",_i]), [0,0,0]] call fnc_isEqual) then {
if !([(getMarkerPos format["spawn%1",_i]), [0,0,0]] call BIS_fnc_areEqual) then {
actualSpawnMarkerCount = actualSpawnMarkerCount + 1;
} else {
_i = 11; // exit since we did not find any further markers