From b7131636e12277b30a0c7cd959040b585765c0c1 Mon Sep 17 00:00:00 2001 From: Lugent <35547583+Lugent@users.noreply.github.com> Date: Thu, 23 Jan 2025 14:25:34 -0400 Subject: [PATCH] Use FORCEINLINE and ATTRINLINE instead --- src/p_local.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_local.h b/src/p_local.h index c8ca08d819..cd67a9b11d 100644 --- a/src/p_local.h +++ b/src/p_local.h @@ -302,7 +302,7 @@ void P_SceneryThinker(mobj_t *mobj); // This does not need to be added to Lua. // To test it in Lua, check mobj.valid -static inline boolean P_MobjWasRemoved(mobj_t *mobj) +FORCEINLINE ATTRINLINE boolean P_MobjWasRemoved(mobj_t *mobj) { return mobj == NULL || mobj->thinker.function.acp1 != (actionf_p1)P_MobjThinker; } -- GitLab