Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/game/shared/gamemovement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
}

Expand Down
Loading