mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 14:51:46 +00:00
Added loading of ZSDF lumps by full paths
https://forum.zdoom.org/viewtopic.php?t=60139
This commit is contained in:
parent
5177868773
commit
3239a9eaa6
1 changed files with 3 additions and 1 deletions
|
@ -227,8 +227,10 @@ void P_LoadStrifeConversations (MapData *map, const char *mapname)
|
|||
bool LoadScriptFile (const char *name, bool include, int type)
|
||||
{
|
||||
int lumpnum = Wads.CheckNumForName (name);
|
||||
const bool found = lumpnum >= 0
|
||||
|| (lumpnum = Wads.CheckNumForFullName (name)) >= 0;
|
||||
|
||||
if (lumpnum < 0)
|
||||
if (!found)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue