From cd5b06da78b7d040b024a53e97799a02a7a6438e Mon Sep 17 00:00:00 2001 From: Glowbal Date: Fri, 13 Feb 2015 23:00:23 +0100 Subject: [PATCH] Added _returnDamage parameter to damageCaching. --- addons/medical/functions/fnc_handleDamage_caching.sqf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/medical/functions/fnc_handleDamage_caching.sqf b/addons/medical/functions/fnc_handleDamage_caching.sqf index f4b1e56410..c171439422 100644 --- a/addons/medical/functions/fnc_handleDamage_caching.sqf +++ b/addons/medical/functions/fnc_handleDamage_caching.sqf @@ -118,14 +118,14 @@ if (_selectionName != "") then { _cache_projectiles pushBack _projectile; _cache_hitpoints pushBack (_hitPoints select (_hitSelections find _selectionName)); _cache_damages pushBack _newDamage; - _cache_params pushBack [_unit, _selectionName, _damage, _source, _projectile]; + _cache_params pushBack [_unit, _selectionName, _damage, _source, _projectile, _returnDamage]; }; } else { // This is an unhandled projectile _cache_projectiles pushBack _projectile; _cache_hitpoints pushBack (_hitPoints select (_hitSelections find _selectionName)); _cache_damages pushBack _newDamage; - _cache_params pushBack [_unit, _selectionName, _damage, _source, _projectile]; + _cache_params pushBack [_unit, _selectionName, _damage, _source, _projectile, _returnDamage]; }; };