mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Restores pathsearchmode after not finding a file. Fixes user map menu not working with broken DEFs. (hunter_rus)
git-svn-id: https://svn.eduke32.com/eduke32@596 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
d94973a174
commit
993fce0352
1 changed files with 2 additions and 0 deletions
|
@ -1337,6 +1337,7 @@ case T_REDPAL: case T_BLUEPAL: case T_BROWNPAL: case T_GREYPAL: case T_GREENPAL:
|
||||||
if (!kzfindfile(buf))
|
if (!kzfindfile(buf))
|
||||||
{
|
{
|
||||||
initprintf("Error: file '%s' does not exist\n",fn);
|
initprintf("Error: file '%s' does not exist\n",fn);
|
||||||
|
pathsearchmode = i;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1396,6 +1397,7 @@ case T_REDPAL: case T_BLUEPAL: case T_BROWNPAL: case T_GREYPAL: case T_GREENPAL:
|
||||||
if (!kzfindfile(buf))
|
if (!kzfindfile(buf))
|
||||||
{
|
{
|
||||||
initprintf("Error: file '%s' does not exist\n",fn);
|
initprintf("Error: file '%s' does not exist\n",fn);
|
||||||
|
pathsearchmode = i;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue