Browse Source

Fix infinite slide in multiplayer.

caseclosed
Night Owl 7 years ago
parent
commit
f13adcfb8b
  1. 4
      pm_shared/pm_shared.c

4
pm_shared/pm_shared.c

@ -3312,8 +3312,8 @@ void PM_Move( struct playermove_s *ppmove, int server ) @@ -3312,8 +3312,8 @@ void PM_Move( struct playermove_s *ppmove, int server )
pmove->flags &= ~FL_ONGROUND;
}
// In single player, reset friction after each movement to FrictionModifier Triggers work still.
if( !pmove->multiplayer && ( pmove->movetype == MOVETYPE_WALK ) )
// Reset friction after each movement to FrictionModifier Triggers work still.
if( pmove->movetype == MOVETYPE_WALK )
{
pmove->friction = 1.0f;
}

Loading…
Cancel
Save