mirror of
https://github.com/FWGS/hlsdk-xash3d
synced 2024-11-25 19:29:13 +01:00
Fix infinite slide in multiplayer.
This commit is contained in:
parent
53626b9965
commit
f13adcfb8b
@ -3312,8 +3312,8 @@ void PM_Move( struct playermove_s *ppmove, int server )
|
|||||||
pmove->flags &= ~FL_ONGROUND;
|
pmove->flags &= ~FL_ONGROUND;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In single player, reset friction after each movement to FrictionModifier Triggers work still.
|
// Reset friction after each movement to FrictionModifier Triggers work still.
|
||||||
if( !pmove->multiplayer && ( pmove->movetype == MOVETYPE_WALK ) )
|
if( pmove->movetype == MOVETYPE_WALK )
|
||||||
{
|
{
|
||||||
pmove->friction = 1.0f;
|
pmove->friction = 1.0f;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user