mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-12-27 13:10:43 +00:00
Remove unused variable to fix warning in luaB_loadfile.
This commit is contained in:
parent
bd9118eae7
commit
6f19615fab
1 changed files with 0 additions and 1 deletions
|
@ -292,7 +292,6 @@ static int luaB_loadfile (lua_State *L) {
|
||||||
const char *filename = luaL_checkstring(L, 1);
|
const char *filename = luaL_checkstring(L, 1);
|
||||||
char fullfilename[256];
|
char fullfilename[256];
|
||||||
UINT16 lumpnum;
|
UINT16 lumpnum;
|
||||||
int n = lua_gettop(L);
|
|
||||||
|
|
||||||
if (wadfiles[numwadfiles - 1]->type != RET_PK3)
|
if (wadfiles[numwadfiles - 1]->type != RET_PK3)
|
||||||
luaL_error(L, "loadfile() only works with PK3 files");
|
luaL_error(L, "loadfile() only works with PK3 files");
|
||||||
|
|
Loading…
Reference in a new issue