fixed typo pt2

This commit is contained in:
vbawol 2016-07-09 10:29:23 -05:00
parent 88ba4b9e6b
commit 2df932cda6
2 changed files with 1 additions and 0 deletions

View File

@ -191,6 +191,7 @@ for "_i" from 1 to _maxVehicleLimit do {
// set damage and hitpoints
_vehicle setDamage _damage;
_allHitpoints = getAllHitPointsDamage _vehicle;
_hitpoints = _arr select 3;
if !(_allHitpoints isEqualTo []) then{
_actualHitpoints = _allHitpoints select 0;
if ((count _actualHitpoints) == (count _hitpoints)) then{