From 6c9ba6e4b31436be884296532dc176a890d5c069 Mon Sep 17 00:00:00 2001 From: Elmsroth Date: Sat, 13 Mar 2021 21:25:15 +0100 Subject: [PATCH] Fix timers and game overall playability (#146) Since the commit related to timers (https://github.com/mangoszero/server/commit/1c4e25cba0b5bfd6bbfc93e68cdcb65f6dae469b), weird behaviours were encounterd in game so it was unplayable : - When attacking a mob it would aggro but not fight back - After 1st spell cats you will hang forever not being able to cast another spell - Item spells with cast duraction were not casted properly (Earthstone etc..) --- src/game/WorldHandlers/World.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/WorldHandlers/World.cpp b/src/game/WorldHandlers/World.cpp index 4be91bf0..55fb4414 100644 --- a/src/game/WorldHandlers/World.cpp +++ b/src/game/WorldHandlers/World.cpp @@ -1677,7 +1677,7 @@ void World::Update(uint32 diff) ///- Update the game time and check for shutdown time _UpdateGameTime(); - + GameTime::UpdateGameTimers(); sWorldUpdateTime.UpdateWithDiff(diff); ///-Update mass mailer tasks if any