Incorrectly retrieving list of current wounds.

Used the wrong method to retrieve the target's current wounds and was
getting an empty array. This caused bandaging any wound even once to
completely heal the target on the Arma side.
This commit is contained in:
Derek Sauer 2015-09-29 17:00:49 -04:00
parent 8d05214eb0
commit 2824009317

View File

@ -102,7 +102,7 @@ if (GVAR(healHitPointAfterAdvBandage)) then {
private["_currentWounds", "_headWounds", "_bodyWounds", "_legsWounds", "_armWounds"];
// Get the list of the wounds the target is currently suffering from.
_currentWounds = GETVAR(_target, openWounds, []);
_currentWounds = _target getvariable [QGVAR(openWounds), []];
// Tally of unbandaged wounds to each body part.
_headWounds = 0;