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