mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
removed unused variables & EHs and set defaults in the case debug mode draw isn't used
This commit is contained in:
parent
160bb15962
commit
3efaef09ec
@ -6,11 +6,8 @@ PREP_RECOMPILE_START;
|
||||
#include "XEH_PREP.hpp"
|
||||
PREP_RECOMPILE_END;
|
||||
|
||||
call FUNC(initMaterialCache);
|
||||
|
||||
GVAR(spallInfoCache) = createHashMap;
|
||||
GVAR(shouldSpallCache) = createHashMap;
|
||||
GVAR(nextSpallAllowTime) = -1;
|
||||
|
||||
GVAR(shouldFragCache) = createHashMap;
|
||||
GVAR(fragInfoCache) = createHashMap;
|
||||
@ -25,11 +22,14 @@ GVAR(dev_drawPFEH) = -1;
|
||||
|
||||
#ifdef DEBUG_MODE_DRAW
|
||||
#include "initSettingsDebug.inc.sqf"
|
||||
#else
|
||||
GVAR(debugOptions) = false;
|
||||
GVAR(dbgSphere) = false;
|
||||
GVAR(drawHitBox) = false;
|
||||
#endif
|
||||
|
||||
if (isServer) then {
|
||||
[QGVAR(frag_eh), LINKFUNC(frago)] call CBA_fnc_addEventHandler;
|
||||
[QGVAR(spallEvent), LINKFUNC(doSpallServer)] call CBA_fnc_addEventHandler;
|
||||
};
|
||||
|
||||
ADDON = true;
|
||||
|
Loading…
Reference in New Issue
Block a user