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:
plagman 2008-01-06 04:07:21 +00:00
parent d94973a174
commit 993fce0352
1 changed files with 2 additions and 0 deletions

View File

@ -1337,6 +1337,7 @@ case T_REDPAL: case T_BLUEPAL: case T_BROWNPAL: case T_GREYPAL: case T_GREENPAL:
if (!kzfindfile(buf))
{
initprintf("Error: file '%s' does not exist\n",fn);
pathsearchmode = i;
break;
}
}
@ -1396,6 +1397,7 @@ case T_REDPAL: case T_BLUEPAL: case T_BROWNPAL: case T_GREYPAL: case T_GREENPAL:
if (!kzfindfile(buf))
{
initprintf("Error: file '%s' does not exist\n",fn);
pathsearchmode = i;
break;
}
}