mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-22 04:21:23 +00:00
Change P_MobjWasRemoved to P_RemoveMobj in the error message (thanks Zwip-Zwap Zapony)
This commit is contained in:
parent
e1d15b5ed5
commit
21b8acf75d
1 changed files with 1 additions and 1 deletions
|
@ -487,7 +487,7 @@ static int lib_iterateSectorThinglist(lua_State *L)
|
|||
{
|
||||
thing = *((mobj_t **)luaL_checkudata(L, 1, META_MOBJ));
|
||||
if (P_MobjWasRemoved(thing))
|
||||
return luaL_error(L, "current entry in thinglist was removed; avoid calling P_MobjWasRemoved on entries!");
|
||||
return luaL_error(L, "current entry in thinglist was removed; avoid calling P_RemoveMobj on entries!");
|
||||
thing = thing->snext;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue