disable debug medical_damage

This commit is contained in:
commy2 2016-09-27 19:22:54 +02:00
parent 09c5fbde15
commit 5a19d4884b
3 changed files with 10 additions and 9 deletions

View File

@ -1,8 +1,9 @@
PREP(airwayHandler);
PREP(fracturesHandler);
PREP(getTypeOfDamage);
PREP(internalInjuriesHandler);
PREP(parseConfigForInjuries);
PREP(getTypeOfDamage);
PREP(airwayHandler);
PREP(fracturesHandler);
PREP(internalInjuriesHandler);
PREP(woundsHandler);
PREP(woundsHandlerSQF);

View File

@ -19,7 +19,7 @@ if ("ace_medical" callExtension "version" != "") then {
private _typeOfDamage = _ammo call FUNC(getTypeOfDamage);
[_unit, _woundedHitPoint, _receivedDamage, _ammo, _typeOfDamage] call FUNC(woundsHandlerActive); // TODO also support the sqf variant
///[_unit, EGVAR(medical,STATE_MACHINE)] call EFUNC(medical,addStateHandler); // @todo disable for now
[_unit, EGVAR(medical,STATE_MACHINE)] call EFUNC(medical,addStateHandler);
}] call CBA_fnc_addEventHandler;
ADDON = true;

View File

@ -2,10 +2,10 @@
#define COMPONENT_BEAUTIFIED Medical Damage
#include "\z\ace\addons\main\script_mod.hpp"
#define DEBUG_MODE_FULL
#define DISABLE_COMPILE_CACHE
#define CBA_DEBUG_SYNCHRONOUS
#define ENABLE_PERFORMANCE_COUNTERS
//#define DEBUG_MODE_FULL
//#define DISABLE_COMPILE_CACHE
//#define CBA_DEBUG_SYNCHRONOUS
//#define ENABLE_PERFORMANCE_COUNTERS
#ifdef DEBUG_ENABLED_MEDICAL_DAMAGE
#define DEBUG_MODE_FULL