Skip to content

Commit

Permalink
Debug|Multiplayer: Allow server operator to cheat via console
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Mar 19, 2012
1 parent 5a492f5 commit 4911058
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doomsday/plugins/jdoom/src/m_cheat.c
Expand Up @@ -87,6 +87,9 @@ int Cht_Reveal(const int* args, int player);

static boolean cheatsEnabled(void)
{
#ifdef _DEBUG
if(IS_NETWORK_SERVER) return true; // Server operator can always cheat.
#endif
return !IS_NETGAME;
}

Expand Down

0 comments on commit 4911058

Please sign in to comment.