mirror of
https://github.com/FWGS/hlsdk-xash3d
synced 2024-11-22 01:47:45 +01:00
parent
f58544a156
commit
da9ce1e9c3
@ -2570,13 +2570,17 @@ void PM_Jump( void )
|
||||
if( !bunnyjump )
|
||||
PM_PreventMegaBunnyJumping();
|
||||
|
||||
if( tfc )
|
||||
// Don't play jump sounds while frozen.
|
||||
if( !( pmove->flags & FL_FROZEN ))
|
||||
{
|
||||
pmove->PM_PlaySound( CHAN_BODY, "player/plyrjmp8.wav", 0.5, ATTN_NORM, 0, PITCH_NORM );
|
||||
}
|
||||
else
|
||||
{
|
||||
PM_PlayStepSound( PM_MapTextureTypeStepType( pmove->chtexturetype ), 1.0f );
|
||||
if( tfc )
|
||||
{
|
||||
pmove->PM_PlaySound( CHAN_BODY, "player/plyrjmp8.wav", 0.5, ATTN_NORM, 0, PITCH_NORM );
|
||||
}
|
||||
else
|
||||
{
|
||||
PM_PlayStepSound( PM_MapTextureTypeStepType( pmove->chtexturetype ), 1.0f );
|
||||
}
|
||||
}
|
||||
|
||||
// See if user can super long jump?
|
||||
|
Loading…
Reference in New Issue
Block a user