Fixed incorrect new damage value in handleDamage advanced.

The new handleDamage from BI added a new value to the parameters that we didn't account for in handleDamage advanced.
This commit is contained in:
Glowbal 2015-09-14 21:15:57 +02:00
parent 33ac78dbac
commit 10ac127159

View File

@ -20,7 +20,7 @@
#include "script_component.hpp"
private ["_typeOfProjectile", "_part", "_damageBodyParts", "_hitPoints"];
params ["_unit", "_selectionName", "_amountOfDamage", "_sourceOfDamage", "_typeOfProjectile", "_newDamage"];
params ["_unit", "_selectionName", "_amountOfDamage", "_sourceOfDamage", "_typeOfProjectile", "_hitPointNumber", "_newDamage"];
_part = [_selectionName] call FUNC(selectionNameToNumber);
if (_part < 0) exitwith {};