mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
Fix startup problems stemming from SelectedGRP = "" ending up in eduke32.cfg
git-svn-id: https://svn.eduke32.com/eduke32@3705 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
b7e3f8cbc9
commit
15014234ab
1 changed files with 4 additions and 0 deletions
|
@ -622,7 +622,11 @@ int32_t CONFIG_ReadSetup(void)
|
|||
// #endif
|
||||
|
||||
if (g_grpNamePtr == NULL && g_usingAddon == 0)
|
||||
{
|
||||
SCRIPT_GetStringPtr(ud.config.scripthandle, "Setup","SelectedGRP",&g_grpNamePtr);
|
||||
if (g_grpNamePtr && !Bstrlen(g_grpNamePtr))
|
||||
g_grpNamePtr = dup_filename(G_DefaultGrpFile());
|
||||
}
|
||||
|
||||
if (!NAM)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue