From 3ac3c88a8deaf70cf6a4052ddd68f19190be9344 Mon Sep 17 00:00:00 2001 From: Alex Cole Date: Sun, 10 Dec 2023 12:40:45 +0100 Subject: [PATCH] Fix `I@` in timers. --- YSI_Coding/y_timers/y_timers_macros.inc | 8 ++++---- YSI_Core/y_core/y_core_entry.inc | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/YSI_Coding/y_timers/y_timers_macros.inc b/YSI_Coding/y_timers/y_timers_macros.inc index ae9c94389..228e52a9a 100644 --- a/YSI_Coding/y_timers/y_timers_macros.inc +++ b/YSI_Coding/y_timers/y_timers_macros.inc @@ -106,15 +106,15 @@ Optional plugins: #define @Yj:%0(%5){%1(%8&%2&%3)%9} @Yj:%0(%5){%1(%8:YSI_gMallocMemory[%2]%3)%9} #define @Yv&%0& %0 -#define DEFER__%0(%1) (J@=1,I@=-1,Timer:_yT@%0(%1)) +#define DEFER__%0(%1) (J@=1,I@=-1,Timer:@Yq:_yT@%0(%1)) -#define REPEAT__%0(%1) (J@=0,I@=-1,Timer:_yT@%0(%1)) +#define REPEAT__%0(%1) (J@=0,I@=-1,Timer:@Yq:_yT@%0(%1)) // Detect explicit repeat counts. -#define J@=0,I@=-1,Timer:_yT@[%4] J@=(%4),I@=-1,Timer:_yT@ +#define J@=0,I@=-1,Timer:@Yq:_yT@[%4] J@=(%4),I@=-1,Timer:@Yq:_yT@ // Custom time. -#define Timer:%0[%1](%2) I@=%1,Timer:%0(%2) +#define @Yq:%0[%1](%2) I@=%1,%0(%2) #define STOP__%0; {_Timer_F((%0),1);} diff --git a/YSI_Core/y_core/y_core_entry.inc b/YSI_Core/y_core/y_core_entry.inc index 30556af4b..fa493f221 100644 --- a/YSI_Core/y_core/y_core_entry.inc +++ b/YSI_Core/y_core/y_core_entry.inc @@ -711,7 +711,7 @@ stock _YSI_ConstMod(const &var, const val) #endif #if defined YSI_YES_MODE_CACHE - #include "..\..\YSI_Server\y_thirdpartyinclude\y3_thirdpartyinclude_entry" + #include "..\..\YSI_Server\y_thirdpartyinclude\y_thirdpartyinclude_entry" #endif /*-------------------------------------------------------------------------*//**