diff --git a/src/c_cmds.cpp b/src/c_cmds.cpp index 56a9bcf36..9c7b781d2 100644 --- a/src/c_cmds.cpp +++ b/src/c_cmds.cpp @@ -949,9 +949,16 @@ CCMD(thaw) //----------------------------------------------------------------------------- CCMD(nextmap) { - char * next=NULL; + if (netgame) + { + Printf ("Use "TEXTCOLOR_BOLD"changemap"TEXTCOLOR_NORMAL" instead. "TEXTCOLOR_BOLD"Nextmap" + TEXTCOLOR_NORMAL" is for single-player only.\n"); + return; + } + char *next = NULL; - if (*level.nextmap) next = level.nextmap; + if (*level.nextmap) + next = level.nextmap; if (next != NULL && strncmp(next, "enDSeQ", 6)) { @@ -970,9 +977,16 @@ CCMD(nextmap) //----------------------------------------------------------------------------- CCMD(nextsecret) { - char * next=NULL; + if (netgame) + { + Printf ("Use "TEXTCOLOR_BOLD"changemap"TEXTCOLOR_NORMAL" instead. "TEXTCOLOR_BOLD"Nextsecret" + TEXTCOLOR_NORMAL" is for single-player only.\n"); + return; + } + char *next = NULL; - if (*level.secretmap) next = level.secretmap; + if (*level.secretmap) + next = level.secretmap; if (next != NULL && strncmp(next, "enDSeQ", 6)) {