- SW: Clean up a useless test function.

This commit is contained in:
Mitchell Richters 2022-11-23 18:28:28 +11:00 committed by Christoph Oelckers
parent c43bde9b4d
commit e3f6b5ff85

View file

@ -3826,10 +3826,7 @@ bool PlayerOnLadder(PLAYER* pp)
bool DoPlayerTestCrawl(PLAYER* pp)
{
if (abs(pp->loz - pp->hiz) < PLAYER_STANDING_ROOM)
return true;
return false;
return abs(pp->loz - pp->hiz) < PLAYER_STANDING_ROOM;
}
//---------------------------------------------------------------------------