From 6957ac33b6fb6c6a986a4e0b107babf557b0189b Mon Sep 17 00:00:00 2001 From: Ivan Savenko Date: Thu, 30 Jan 2025 16:43:52 +0000 Subject: [PATCH] Fix excessive paths updates when using Fly/Water Walk --- client/adventureMap/AdventureMapInterface.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/client/adventureMap/AdventureMapInterface.cpp b/client/adventureMap/AdventureMapInterface.cpp index 55dd66e1d..2742ae213 100644 --- a/client/adventureMap/AdventureMapInterface.cpp +++ b/client/adventureMap/AdventureMapInterface.cpp @@ -107,9 +107,6 @@ void AdventureMapInterface::onHeroMovementStarted(const CGHeroInstance * hero) void AdventureMapInterface::onHeroChanged(const CGHeroInstance *h) { - if (h) - LOCPLINT->localState->verifyPath(h); - widget->getHeroList()->updateElement(h); if (h && h == LOCPLINT->localState->getCurrentHero() && !widget->getInfoBar()->showingComponents())