mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-26 00:40:56 +00:00
- fixed some startup errors.
This commit is contained in:
parent
8fb54b51c3
commit
906e56a2b1
2 changed files with 3 additions and 3 deletions
|
@ -391,11 +391,11 @@ int CONFIG_Init()
|
||||||
std::error_code err;
|
std::error_code err;
|
||||||
if (std::filesystem::equivalent(gpath, fpath, err))
|
if (std::filesystem::equivalent(gpath, fpath, err))
|
||||||
{
|
{
|
||||||
|
groupno = g;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
g++;
|
g++;
|
||||||
}
|
}
|
||||||
groupno = g;
|
|
||||||
}
|
}
|
||||||
if (groupno == -1 || userConfig.setupstate == 1)
|
if (groupno == -1 || userConfig.setupstate == 1)
|
||||||
groupno = ShowStartupWindow(groups);
|
groupno = ShowStartupWindow(groups);
|
||||||
|
@ -408,7 +408,7 @@ int CONFIG_Init()
|
||||||
usedgroups.Push(group);
|
usedgroups.Push(group);
|
||||||
|
|
||||||
auto crc = group.FileInfo.dependencyCRC;
|
auto crc = group.FileInfo.dependencyCRC;
|
||||||
for (auto& dep : groups)
|
if (crc != 0) for (auto& dep : groups)
|
||||||
{
|
{
|
||||||
if (dep.FileInfo.CRC == crc)
|
if (dep.FileInfo.CRC == crc)
|
||||||
{
|
{
|
||||||
|
|
|
@ -6086,7 +6086,7 @@ void C_Compile(const char *fileName)
|
||||||
|
|
||||||
if (!kFile.isOpen())
|
if (!kFile.isOpen())
|
||||||
{
|
{
|
||||||
I_Error(tempbuf,"CON file `%s' missing.", fileName);
|
I_Error("CON file `%s' missing.", fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
int const kFileLen = kFile.GetLength();
|
int const kFileLen = kFile.GetLength();
|
||||||
|
|
Loading…
Reference in a new issue