Fix xen squasher body passed to EV_WeaponAnimation.

This commit is contained in:
Andrey Akhmichin 2022-11-16 10:44:49 +05:00
parent b42187b4c2
commit 4ce56723a9
No known key found for this signature in database
GPG Key ID: 1F180D249B0643C0
1 changed files with 1 additions and 1 deletions

View File

@ -702,7 +702,7 @@ void EV_StopPreviousXS( int idx )
gEngfuncs.pEventAPI->EV_KillEvents( idx, "events/xsspin.sc" );
gEngfuncs.pEventAPI->EV_StopSound( idx, CHAN_WEAPON, "weapons/xs_windup.wav" );
if( EV_IsLocal( idx ) )
gEngfuncs.pEventAPI->EV_WeaponAnimation( XS_FIRE2, 2 );
gEngfuncs.pEventAPI->EV_WeaponAnimation( XS_FIRE2, 0 );
}
void EV_SpinXS( event_args_t *args )