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.
This commit is contained in:
revility 2018-11-21 22:04:29 -05:00 committed by Daniel Gibson
parent 3240589cec
commit 54a98ddfe5

View file

@ -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;
}