From 3aa1ffc3490b5f051516903d71fed1b06f3e096b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Dahlgren?= Date: Sat, 7 Oct 2023 17:41:16 +0200 Subject: [PATCH] Fix inherited UGL_F magazines by vn_ugl --- addons/jam/jam_vn/CfgWeapons.hpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/addons/jam/jam_vn/CfgWeapons.hpp b/addons/jam/jam_vn/CfgWeapons.hpp index e88130b3e..85b838a95 100644 --- a/addons/jam/jam_vn/CfgWeapons.hpp +++ b/addons/jam/jam_vn/CfgWeapons.hpp @@ -1,5 +1,13 @@ class CfgWeapons { - class vn_rifle; + class Rifle_Base_F; + + class UGL_F; + + class vn_rifle: Rifle_Base_F { + class vn_ugl: UGL_F { + magazineWell[] = {}; + }; + }; class vn_m16: vn_rifle { magazineWell[] += {"CBA_556x45_STANAG","CBA_556x45_STANAG_L","CBA_556x45_STANAG_XL","CBA_556x45_STANAG_2D","CBA_556x45_STANAG_2D_XL"};