From 6393835b493187e5712fb9c91b49eb342b07b0ae Mon Sep 17 00:00:00 2001 From: Rushaway Date: Mon, 30 Mar 2026 21:39:17 +0200 Subject: [PATCH] fix(core): FloatMod legacy support --- addons/sourcemod/scripting/FixFuncRotating.sp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/sourcemod/scripting/FixFuncRotating.sp b/addons/sourcemod/scripting/FixFuncRotating.sp index 41da5ce..d6a42eb 100644 --- a/addons/sourcemod/scripting/FixFuncRotating.sp +++ b/addons/sourcemod/scripting/FixFuncRotating.sp @@ -11,14 +11,14 @@ public Plugin myinfo = name = "FixFuncRotating", author = "Cloud Strife", description = "Fixes func_rotating`s StartForward and StopAtStartPos inputs", - version = "1.0.1", + version = "1.0.2", url = "" }; Handle g_CFuncRotating_StartForward = null; Handle g_CFuncRotating_UpdateSpeed = null; -#if SOURCEMOD_V_MAJOR >= 1 && SOURCEMOD_V_MINOR < 13 +#if SOURCEMOD_V_MAJOR >= 1 && SOURCEMOD_V_MINOR < 12 stock float FloatMod(float num, float denom) { return num - denom * RoundToFloor(num / denom);