can inline this
This commit is contained in:
1 parent
9e266c7a41
commit
9e575d89db
1 file changed
+1
-1
+1
-1
@@ -10126,7 +10126,7 @@ void P_RemoveMobj(mobj_t *mobj)
|
||||
|
||||
// This does not need to be added to Lua.
|
||||
// To test it in Lua, check mobj.valid
|
||||
boolean P_MobjWasRemoved(const mobj_t *mobj)
|
||||
inline boolean P_MobjWasRemoved(const mobj_t *mobj)
|
||||
{
|
||||
return !(mobj && mobj->thinker.function.acp1 == (actionf_p1)P_MobjThinker);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user