diff --git a/src/timeline.c b/src/timeline.c index 62cd15b..4f39660 100644 --- a/src/timeline.c +++ b/src/timeline.c @@ -238,7 +238,7 @@ SYMBOL_EXPORT struct TM_Action* TM_AddNamedBackgroundAction(struct Timeline* tim } /*! \brief Predefined action used by TM_AddQueuedBackgroundAction */ -static TM_Action(TM_RunInBackground) { +static TM_ACTION(TM_RunInBackground) { int* delay = TM_Arg(1); char* name = TM_Arg(2); struct TM_Arguments* arguments = TM_Arg(3); diff --git a/src/timeline.h b/src/timeline.h index 24f38e6..4eb8796 100644 --- a/src/timeline.h +++ b/src/timeline.h @@ -133,6 +133,6 @@ bool TM_IsBackgroundEmpty(struct Timeline* timeline); #define TM_Arg(n) TM_GetArg(action->arguments, n) /*! \brief Macro for easy timeline action definition. */ -#define TM_Action(name) bool name(struct Game* game, struct GamestateResources* data, struct TM_Action* action) +#define TM_ACTION(name) bool name(struct Game* game, struct GamestateResources* data, struct TM_Action* action) #endif