Skip to content

Commit

Permalink
- SW: Clean up a useless test function.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjr4077au committed Nov 26, 2022
1 parent 39c5c98 commit 0780240
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions source/games/sw/src/player.cpp
Expand Up @@ -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;
}

//---------------------------------------------------------------------------
Expand Down

0 comments on commit 0780240

Please sign in to comment.