From 485a8b5c9ad2b831bc8d61e5d6e908c3d6d33033 Mon Sep 17 00:00:00 2001 From: Fay Date: Fri, 6 Feb 2015 19:11:04 +0100 Subject: [PATCH] Fixed updating camera position after teleportation (gate/teleport/spells); --- client/CPlayerInterface.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/CPlayerInterface.cpp b/client/CPlayerInterface.cpp index a4be55c15..0fd4bf5b1 100644 --- a/client/CPlayerInterface.cpp +++ b/client/CPlayerInterface.cpp @@ -276,6 +276,8 @@ void CPlayerInterface::heroMoved(const TryMoveHero & details) } } + adventureInt->centerOn(hero); //actualizing screen pos + adventureInt->minimap.redraw(); adventureInt->heroList.update(hero); return; //teleport - no fancy moving animation //TODO: smooth disappear / appear effect