From f5bda95372dae21f20d49c6a014c116c53161369 Mon Sep 17 00:00:00 2001 From: Emagi Date: Thu, 30 Jan 2025 10:04:18 -0500 Subject: [PATCH] additionally allow calc code to trigger every 10ms instead of 100ms --- source/WorldServer/Spawn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/WorldServer/Spawn.cpp b/source/WorldServer/Spawn.cpp index c5fa493..3541663 100644 --- a/source/WorldServer/Spawn.cpp +++ b/source/WorldServer/Spawn.cpp @@ -3705,7 +3705,7 @@ bool Spawn::CalculateChange(){ void Spawn::CalculateRunningLocation(bool stop){ bool pauseTimerEnabled = IsPauseMovementTimerActive(); - if (!pauseTimerEnabled && !stop && (last_location_update + 100) > Timer::GetCurrentTime2()) + if (!pauseTimerEnabled && !stop && (last_location_update + 10) > Timer::GetCurrentTime2()) return; else if (!pauseTimerEnabled && !stop) last_location_update = Timer::GetCurrentTime2();