diff --git a/addons/frag/XEH_PREP.hpp b/addons/frag/XEH_PREP.hpp index e7d3597d02..7ef64f52a6 100644 --- a/addons/frag/XEH_PREP.hpp +++ b/addons/frag/XEH_PREP.hpp @@ -20,7 +20,7 @@ PREP(addBlackList); PREP(initBlackList); PREP(submunition); PREP(shouldFrag); -PREP(fragInfo); +PREP(getFragInfo); PREP(doFrag); PREP(doFragTargeted); PREP(doFragRandom); diff --git a/addons/frag/XEH_preInit.sqf b/addons/frag/XEH_preInit.sqf index 566cfc3721..463702efb8 100644 --- a/addons/frag/XEH_preInit.sqf +++ b/addons/frag/XEH_preInit.sqf @@ -8,7 +8,7 @@ PREP_RECOMPILE_END; GVAR(materialSpallCache) = createHashMap; -GVAR(spallRoundCache) = createHashMap; +GVAR(spallRoundCache) = createHashMapFromArray [["", "metal"]]; GVAR(lastSpallTime) = -2; GVAR(shouldFragCache) = createHashMap;