Skip to content

Commit 51ebaf9

Browse files
committed
fixed use of wrong file lookup function in map patching code.
1 parent 0fa0e3d commit 51ebaf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/games/duke/src/gamedef.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3291,7 +3291,7 @@ void loadcons()
32913291
{
32923292
// fix broken secret exit in WT's super secret map.
32933293
// This cannot be done from an RMAPINFO definition because the conditions are too specific and must not override custom maps.
3294-
int num = fileSystem.CheckNumForName("e1l7.map");
3294+
int num = fileSystem.FindFile("e1l7.map");
32953295
int file = fileSystem.GetFileContainer(num);
32963296
if (file <= fileSystem.GetMaxIwadNum())
32973297
{

0 commit comments

Comments
 (0)