diff --git a/src/w_wad.c b/src/w_wad.c index 62bbc0a4..d1c6d488 100644 --- a/src/w_wad.c +++ b/src/w_wad.c @@ -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: