Send the old GT_MATCH only for specific versions

These version numbers were gathered from the Master Server's PHP code.
This commit is contained in:
James R 2019-06-30 10:47:08 -07:00
parent c96f5dba0c
commit 141ffd5c94
1 changed files with 3 additions and 1 deletions

View File

@ -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