From b6470211173de6e25eb8b805e2257650b7c9b1bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Lu=C3=ADs=20Vaz=20Silva?= Date: Tue, 12 Nov 2024 18:14:18 -0300 Subject: [PATCH] export UpdateSpriteInfo --- src/playsim/p_effect.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/playsim/p_effect.cpp b/src/playsim/p_effect.cpp index c48cafb8550..f96ec13011b 100644 --- a/src/playsim/p_effect.cpp +++ b/src/playsim/p_effect.cpp @@ -1090,6 +1090,19 @@ void DVisualThinker::UpdateSpriteInfo() } } +static void UpdateSpriteInfo(DVisualThinker * self) +{ + self->UpdateSpriteInfo(); +} + +DEFINE_ACTION_FUNCTION_NATIVE(DVisualThinker, UpdateSpriteInfo, UpdateSpriteInfo) +{ + PARAM_SELF_PROLOGUE(DVisualThinker); + self->UpdateSpriteInfo(); + return 0; +} + + // This runs just like Actor's, make sure to call Super.Tick() in ZScript. void DVisualThinker::Tick() {