mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix handleDamage not working
This commit is contained in:
parent
7691af47f3
commit
9263cb0f7d
@ -162,7 +162,10 @@ private _selectionSpecific = getNumber(_damageTypesConfig >> "selectionSpecific"
|
||||
{
|
||||
_x params ["_classID", "_selections", "_bloodLoss", "_pain", "_damage", "_causesArray", "_classDisplayName"];
|
||||
_damage params ["_minDamage", "_maxDamage"];
|
||||
|
||||
private _className = GVAR(woundClassNames) select _forEachIndex;
|
||||
if (_classDisplayName == "") then {_classDisplayName = _className; }; // fall back
|
||||
|
||||
private _allowedSelections = "";
|
||||
{
|
||||
_allowedSelections = _allowedSelections + _x;
|
||||
|
@ -4,7 +4,7 @@ ADDON = false;
|
||||
|
||||
#include "XEH_PREP.hpp"
|
||||
|
||||
[QGVAR(woundReceived), {
|
||||
[QEGVAR(medical_engine,woundReceived), {
|
||||
params ["_unit", "_woundedHitPoint", "_receivedDamage", "", "_ammo"];
|
||||
|
||||
private _selectionName = EGVAR(medical,SELECTIONS) param [EGVAR(medical,HITPOINTS) find _woundedHitPoint]; // @todo
|
||||
|
@ -29,9 +29,9 @@
|
||||
#define NAMESPACE_NULL locationNull
|
||||
|
||||
#define PRELOAD_CLASS(class) \
|
||||
LOG_1("Starting preload for ""%1""",class);\
|
||||
diag_log format["Starting preload for ""%1""",class];\
|
||||
[{\
|
||||
1 preloadObject _this;\
|
||||
}, {\
|
||||
LOG_1("Preload done for ""%1""",_this);\
|
||||
diag_log format ["Preload done for ""%1""",_this];\
|
||||
}, class] call CBA_fnc_waitUntilAndExecute
|
||||
|
Loading…
Reference in New Issue
Block a user