From b896b7a12070415a322fe01da6117a3cc7514217 Mon Sep 17 00:00:00 2001 From: Blutze <37950828+Blutze@users.noreply.github.com> Date: Wed, 11 Sep 2019 21:32:23 +0200 Subject: [PATCH 1/2] Add new muzzle slots --- addons/jr/jr_classes.hpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/addons/jr/jr_classes.hpp b/addons/jr/jr_classes.hpp index 085eba860..d89cf3a8a 100644 --- a/addons/jr/jr_classes.hpp +++ b/addons/jr/jr_classes.hpp @@ -280,6 +280,15 @@ class asdg_MuzzleSlot_762R: asdg_MuzzleSlot { // for 7.62x39 suppressors class compatibleItems {}; }; + +class asdg_MuzzleSlot_762R_PK: asdg_MuzzleSlot { // for 7.62x54R PK mount suppressors + class compatibleItems {}; +}; + +class asdg_MuzzleSlot_762R_SVD: asdg_MuzzleSlot { // for 7.62x54R SVD mount suppressors + class compatibleItems {}; +}; + class asdg_MuzzleSlot_58: asdg_MuzzleSlot { // for 5.8x42 suppressors class compatibleItems { muzzle_snds_58_blk_F = 1; @@ -288,3 +297,7 @@ class asdg_MuzzleSlot_58: asdg_MuzzleSlot { // for 5.8x42 suppressors muzzle_snds_58_hex_F = 1; }; }; + +class asdg_MuzzleSlot_46: asdg_MuzzleSlot { // for 4.6x30 suppressors + class compatibleItems {}; +}; From 0911400696c9ce440da92bd8b6b2313128b672b2 Mon Sep 17 00:00:00 2001 From: Blutze <37950828+Blutze@users.noreply.github.com> Date: Mon, 16 Sep 2019 07:58:23 +0200 Subject: [PATCH 2/2] Clean up empty lines --- addons/jr/jr_classes.hpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/addons/jr/jr_classes.hpp b/addons/jr/jr_classes.hpp index d89cf3a8a..9e63df935 100644 --- a/addons/jr/jr_classes.hpp +++ b/addons/jr/jr_classes.hpp @@ -280,11 +280,9 @@ class asdg_MuzzleSlot_762R: asdg_MuzzleSlot { // for 7.62x39 suppressors class compatibleItems {}; }; - class asdg_MuzzleSlot_762R_PK: asdg_MuzzleSlot { // for 7.62x54R PK mount suppressors class compatibleItems {}; }; - class asdg_MuzzleSlot_762R_SVD: asdg_MuzzleSlot { // for 7.62x54R SVD mount suppressors class compatibleItems {}; };