Skip to content

Commit

Permalink
export UpdateSpriteInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
RicardoLuis0 committed Nov 13, 2024
1 parent 925b62b commit 6a067a7
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/playsim/p_effect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand Down

0 comments on commit 6a067a7

Please sign in to comment.