mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-23 16:32:36 +00:00
m_cheat.c: Permit singleplayer-only cheats in offline match race
This commit is contained in:
parent
f47d818698
commit
a602a90a8c
1 changed files with 2 additions and 2 deletions
|
|
@ -247,8 +247,8 @@ boolean cht_Responder(event_t *ev)
|
||||||
#define REQUIRE_INLEVEL if (gamestate != GS_LEVEL || demo.playback)\
|
#define REQUIRE_INLEVEL if (gamestate != GS_LEVEL || demo.playback)\
|
||||||
{ CONS_Printf(M_GetText("You must be in a level to use this.\n")); return; }
|
{ CONS_Printf(M_GetText("You must be in a level to use this.\n")); return; }
|
||||||
|
|
||||||
#define REQUIRE_SINGLEPLAYER if (netgame || multiplayer)\
|
#define REQUIRE_SINGLEPLAYER if (netgame)\
|
||||||
{ CONS_Printf(M_GetText("This only works in single player.\n")); return; }
|
{ CONS_Printf(M_GetText("This only works offline.\n")); return; }
|
||||||
|
|
||||||
// command that can be typed at the console!
|
// command that can be typed at the console!
|
||||||
void Command_CheatNoClip_f(void)
|
void Command_CheatNoClip_f(void)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue