Fix isSubPath

This commit is contained in:
Nicolás Badano 2015-03-21 14:28:17 -03:00
parent f5f91c4802
commit dbb9765035

View File

@ -20,7 +20,7 @@ _isSubPath = true;
if (count _shortPath > count _longPath) exitWith {false};
for [{_i = 0},{_i < (count _shortPath) - 1},{_i = _i + 1}] do {
for [{_i = 0},{_i < count _shortPath},{_i = _i + 1}] do {
if !((_longPath select _i) isEqualTo (_shortPath select _i)) exitWith {
_isSubPath = false;
};