From d2ee27b898ecfac7f958f052f2742456b3ae4a49 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 7d3c53bb4..3f7253f37 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 4eec9c093..624beabcf 100644
--- a/src/doomdef.h
+++ b/src/doomdef.h
@@ -148,9 +148,9 @@ extern FILE *logstream;
 // we use comprevision and compbranch instead.
 #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
@@ -208,7 +208,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