Skip to content

Commit

Permalink
Compat RHS - Fix USAF flashlights materializing PEQ-15s (#9683)
Browse files Browse the repository at this point in the history
i wish this used CBA attachments...
  • Loading branch information
LinkIsGrim authored Dec 20, 2023
1 parent e8c10f9 commit 274d853
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions addons/compat_rhs_usf3/compat_rhs_usf3_arsenal/CfgWeapons.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ class CfgWeapons {
baseWeapon = "rhsusf_acc_anpeq15_wmx";
};
class rhsusf_acc_M952V: rhsusf_acc_anpeq15_light {
rhs_acc_combo = ""; // prevent materializing a PEQ-15 if RHS's attachment switch is called
rhs_anpeq15_base = ""; // same deal
baseWeapon = "rhsusf_acc_M952V";
};
class rhsusf_acc_wmx: rhsusf_acc_M952V {
Expand All @@ -29,6 +31,12 @@ class CfgWeapons {
class rhsusf_acc_anpeq15A: acc_pointer_IR {
baseWeapon = "rhsusf_acc_anpeq15A";
};
class rhsusf_acc_anpeq15_top: rhsusf_acc_anpeq15A {
baseWeapon = "rhsusf_acc_anpeq15_top";
};
class rhsusf_acc_anpeq15_bk_top: rhsusf_acc_anpeq15_top {
baseWeapon = "rhsusf_acc_anpeq15_bk_top";
};
class rhsusf_acc_anpeq15side: acc_pointer_IR {
baseWeapon = "rhsusf_acc_anpeq15side";
};
Expand Down

0 comments on commit 274d853

Please sign in to comment.