diff --git a/platform/Windows/lib/32/libSDL2.lib b/platform/Windows/lib/32/libSDL2.lib index 10735eea7..da3b4432b 100644 Binary files a/platform/Windows/lib/32/libSDL2.lib and b/platform/Windows/lib/32/libSDL2.lib differ diff --git a/platform/Windows/lib/32/libSDL2main.lib b/platform/Windows/lib/32/libSDL2main.lib index 7c08627c7..27b48de2a 100644 Binary files a/platform/Windows/lib/32/libSDL2main.lib and b/platform/Windows/lib/32/libSDL2main.lib differ diff --git a/source/common/gamecontrol.cpp b/source/common/gamecontrol.cpp index 4d3f8cac4..2fabae2d1 100644 --- a/source/common/gamecontrol.cpp +++ b/source/common/gamecontrol.cpp @@ -293,14 +293,15 @@ int CONFIG_Init() // If the user has specified a file name, let's see if we know it. // - if (userConfig.gamegrp) + if (userConfig.gamegrp.Len()) { - FString gamegrplower = userConfig.gamegrp.MakeLower(); + FString gamegrplower = "/" + userConfig.gamegrp.MakeLower(); int g = 0; for (auto& grp : groups) { auto grplower = grp.FileName.MakeLower(); + grplower.Substitute("\\", "/"); if (grplower.LastIndexOf(gamegrplower) == grplower.Len() - gamegrplower.Len()) { groupno = g; diff --git a/source/sw/src/game.cpp b/source/sw/src/game.cpp index f6c430054..080dae848 100644 --- a/source/sw/src/game.cpp +++ b/source/sw/src/game.cpp @@ -849,6 +849,9 @@ void InitGame() } } } +#else + numplayers = 1; myconnectindex = 0; + connecthead = 0; connectpoint2[0] = -1; #endif initsynccrc();