From 2e92b5d9db2979dc622557178a79d72c20bab2d7 Mon Sep 17 00:00:00 2001 From: RedEnchilada <red@lyrawearspants.com> Date: Sun, 21 Feb 2016 13:35:54 -0600 Subject: [PATCH] Fix map change menu --- src/d_netcmd.c | 5 ++++- src/doomdef.h | 8 ++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/d_netcmd.c b/src/d_netcmd.c index 8d67d5aed..d96318df6 100644 --- a/src/d_netcmd.c +++ b/src/d_netcmd.c @@ -1618,7 +1618,10 @@ static void Command_Map_f(void) // new gametype value // use current one by default i = COM_CheckParm("-gametype"); - if (i) + + if (M_CheckParm("-nothokker") == 0) + newgametype = GT_TEAMMATCH; + else if (i) { if (!multiplayer) { diff --git a/src/doomdef.h b/src/doomdef.h index 0589a7798..c1fbbc9e4 100644 --- a/src/doomdef.h +++ b/src/doomdef.h @@ -146,9 +146,9 @@ extern FILE *logstream; #define VERSIONSTRINGW L"Trunk" #else #define VERSION 165 // Game version -#define SUBVERSION 0 -#define VERSIONSTRING "v2.1.14 (Thokker 1.0.0)" -#define VERSIONSTRINGW L"v2.1.14 (Thokker 1.0.0)" +#define SUBVERSION 1 +#define VERSIONSTRING "v2.1.14 (Thokker 1.0.1)" +#define VERSIONSTRINGW L"v2.1.14 (Thokker 1.0.1)" // Hey! If you change this, add 1 to the MODVERSION below! // Otherwise we can't force updates! #endif @@ -206,7 +206,7 @@ extern FILE *logstream; // it's only for detection of the version the player is using so the MS can alert them of an update. // Only set it higher, not lower, obviously. // Note that we use this to help keep internal testing in check; this is why v2.1.0 is not version "1". -#define MODVERSION 1 +#define MODVERSION 2 -- GitLab