From 54a98ddfe5d43051c5bb581bfbbc4e2f803c9e99 Mon Sep 17 00:00:00 2001 From: revility <32818302+revility@users.noreply.github.com> Date: Wed, 21 Nov 2018 22:04:29 -0500 Subject: [PATCH] ejectbrass fix brass was not ejecting from the weapon models due to checking if view models are shown... but this is a thirdperson mod and none are used. --- game/Weapon.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/game/Weapon.cpp b/game/Weapon.cpp index 98ff2e5..5f3bbf4 100644 --- a/game/Weapon.cpp +++ b/game/Weapon.cpp @@ -5204,7 +5204,8 @@ Toss a shell model out from the breach if the bone is present ================ */ void idWeapon::Event_EjectBrass( void ) { - if ( !g_showBrass.GetBool() || !owner->CanShowWeaponViewmodel() ) { + if ( !g_showBrass.GetBool() ) { //Rev 2018 viewmodels not used. all brass code now refers to world model. Was stopping brass from ejecting. + //if ( !g_showBrass.GetBool() || !owner->CanShowWeaponViewmodel() ) { return; }