fixup merged mess for NO-LUA mess

This commit is contained in:
Alam Arias 2019-03-02 13:32:47 -05:00
parent c56cae4d28
commit d4f05e5be9
1 changed files with 0 additions and 4 deletions

View File

@ -192,10 +192,8 @@ static inline void W_LoadDehackedLumpsPK3(UINT16 wadnum)
{
posEnd = W_CheckNumForFolderEndPK3("Lua/", wadnum, posStart);
posStart++;
#ifdef HAVE_BLUA
for (; posStart < posEnd; posStart++)
LUA_LoadLump(wadnum, posStart);
#endif
}
#endif
posStart = W_CheckNumForFolderStartPK3("SOC/", wadnum, 0);
@ -799,9 +797,7 @@ UINT16 W_InitFile(const char *filename)
break;
#ifdef HAVE_BLUA
case RET_LUA:
#ifdef HAVE_BLUA
LUA_LoadLump(numwadfiles - 1, 0);
#endif
break;
#endif
default: