From b909fe8ea9bafc8926d7d2c8c6548e33df78be4a Mon Sep 17 00:00:00 2001 From: Alug Date: Thu, 15 Aug 2024 14:42:30 +0200 Subject: [PATCH] shut up compiler --- src/p_mobj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_mobj.c b/src/p_mobj.c index 5dc8f19b9..4ed97f59b 100644 --- a/src/p_mobj.c +++ b/src/p_mobj.c @@ -10151,7 +10151,7 @@ void P_RemoveMobj(mobj_t *mobj) // This does not need to be added to Lua. // To test it in Lua, check mobj.valid -inline boolean P_MobjWasRemoved(const mobj_t *mobj) +FUNCINLINE ATTRINLINE boolean P_MobjWasRemoved(const mobj_t *mobj) { return !(mobj && mobj->thinker.function.acp1 == (actionf_p1)P_MobjThinker); }