fix script error caused by new arguments passed to handleDamage (#4866)

* fix script error caused by new arguments passed to handleDamage

* Copy array to not break other handleDamage ehs

* Resize to 7
This commit is contained in:
commy2 2017-02-02 20:03:13 +01:00 committed by PabstMirror
parent aa393ccf92
commit 9d68fbf987

View File

@ -18,6 +18,7 @@
*/
#include "script_component.hpp"
_this = _this select [0, 7];
params ["_unit", "_selection", "_damage", "_shooter", "_projectile", "_hitPointIndex"];
TRACE_5("ACE_DEBUG: HandleDamage Called",_unit, _selection, _damage, _shooter, _projectile);