From 141ffd5c94189667779faa1f05d9922848e1dad5 Mon Sep 17 00:00:00 2001
From: James R <justsomejames2@gmail.com>
Date: Sun, 30 Jun 2019 10:47:08 -0700
Subject: [PATCH] Send the old GT_MATCH only for specific versions

These version numbers were gathered from the Master Server's PHP code.
---
 src/d_clisrv.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/d_clisrv.h b/src/d_clisrv.h
index e7879d582..d7f033b62 100644
--- a/src/d_clisrv.h
+++ b/src/d_clisrv.h
@@ -29,7 +29,9 @@
 
 // SOME numpty changed all the gametype constants and it fell out of sync with vanilla and now we have to pretend to be vanilla when talking to the master server...
 #define VANILLA_GT_RACE 2
-#if VERSION < 210
+// Woah, what do these numbers mean? 200 refers to SRB2 2.0, 246 refers to
+// SRB2Riders. Both use the old 2.0 gametype numbers.
+#if VERSION == 200 || VERSION == 246
 #define VANILLA_GT_MATCH 1
 #else
 #define VANILLA_GT_MATCH 3
-- 
GitLab