From dc7ac4c42ca0af59b0c261f16402ffc600cee508 Mon Sep 17 00:00:00 2001 From: PabstMirror <pabstmirror@gmail.com> Date: Fri, 5 Aug 2016 12:03:45 -0500 Subject: [PATCH] Fix static weapons not being loadable in cargo (#4205) - Fix #4165 --- addons/cargo/CfgEventHandlers.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/addons/cargo/CfgEventHandlers.hpp b/addons/cargo/CfgEventHandlers.hpp index ff4a88693e..45f6d48997 100644 --- a/addons/cargo/CfgEventHandlers.hpp +++ b/addons/cargo/CfgEventHandlers.hpp @@ -67,4 +67,9 @@ class Extended_InitPost_EventHandlers { init = QUOTE(_this call DFUNC(initObject)); }; }; + class StaticWeapon { + class ADDON { + init = QUOTE(_this call DFUNC(initObject)); + }; + }; };