mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-17 17:21:05 +00:00
fixed use of wrong file lookup function in map patching code.
This commit is contained in:
parent
0fa0e3da23
commit
51ebaf9296
1 changed files with 1 additions and 1 deletions
|
@ -3291,7 +3291,7 @@ void loadcons()
|
|||
{
|
||||
// fix broken secret exit in WT's super secret map.
|
||||
// This cannot be done from an RMAPINFO definition because the conditions are too specific and must not override custom maps.
|
||||
int num = fileSystem.CheckNumForName("e1l7.map");
|
||||
int num = fileSystem.FindFile("e1l7.map");
|
||||
int file = fileSystem.GetFileContainer(num);
|
||||
if (file <= fileSystem.GetMaxIwadNum())
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue