mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 00:41:55 +00:00
- replaced 32 bit SDL library - the preincluded one appeared to be broken.
- fixed main group autochoice. - fixed uninitialized player links for Shadow Warrior.
This commit is contained in:
parent
f24de03501
commit
fd31d4fa6a
4 changed files with 6 additions and 2 deletions
Binary file not shown.
Binary file not shown.
|
@ -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;
|
||||
|
|
|
@ -849,6 +849,9 @@ void InitGame()
|
|||
}
|
||||
}
|
||||
}
|
||||
#else
|
||||
numplayers = 1; myconnectindex = 0;
|
||||
connecthead = 0; connectpoint2[0] = -1;
|
||||
#endif
|
||||
initsynccrc();
|
||||
|
||||
|
|
Loading…
Reference in a new issue