mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +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 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;
|
int g = 0;
|
||||||
for (auto& grp : groups)
|
for (auto& grp : groups)
|
||||||
{
|
{
|
||||||
auto grplower = grp.FileName.MakeLower();
|
auto grplower = grp.FileName.MakeLower();
|
||||||
|
grplower.Substitute("\\", "/");
|
||||||
if (grplower.LastIndexOf(gamegrplower) == grplower.Len() - gamegrplower.Len())
|
if (grplower.LastIndexOf(gamegrplower) == grplower.Len() - gamegrplower.Len())
|
||||||
{
|
{
|
||||||
groupno = g;
|
groupno = g;
|
||||||
|
|
|
@ -849,6 +849,9 @@ void InitGame()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
numplayers = 1; myconnectindex = 0;
|
||||||
|
connecthead = 0; connectpoint2[0] = -1;
|
||||||
#endif
|
#endif
|
||||||
initsynccrc();
|
initsynccrc();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue