diff --git a/src/game/shared/gamemovement.cpp b/src/game/shared/gamemovement.cpp index 6224668be..e8ef48a39 100644 --- a/src/game/shared/gamemovement.cpp +++ b/src/game/shared/gamemovement.cpp @@ -4097,11 +4097,19 @@ void CGameMovement::CategorizePosition( void ) } else { +#ifdef NEO + // don't glide along a slope when noclipping as a player + if (player->GetMoveType() != MOVETYPE_NOCLIP) +#endif // NEO SetGroundEntity( &pm ); } } else { +#ifdef NEO + // don't glide along the ground when noclipping as a player + if (player->GetMoveType() != MOVETYPE_NOCLIP) +#endif // NEO SetGroundEntity( &pm ); // Otherwise, point to index of ent under us. }