mirror of
https://github.com/dhewm/dhewm3-sdk.git
synced 2024-11-28 15:22:27 +00:00
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:
parent
3240589cec
commit
54a98ddfe5
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue