Skip to content

Commit

Permalink
Allow cheating when _DEBUG
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Jun 27, 2003
1 parent bffd954 commit 6058642
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doomsday/Src/jHexen/Sb_bar.c
Expand Up @@ -1693,8 +1693,12 @@ boolean SB_Responder(event_t *event)

static boolean canCheat()
{
#ifdef _DEBUG
return true;
#else
return !(gameskill == sk_nightmare || (netgame && !netcheat)
|| players[consoleplayer].health <= 0);
#endif
}

//==========================================================================
Expand Down

0 comments on commit 6058642

Please sign in to comment.