Forráskód Böngészése

Fixed updating camera position after teleportation (gate/teleport/spells);

Fay 10 éve
szülő
commit
485a8b5c9a
1 módosított fájl, 2 hozzáadás és 0 törlés
  1. 2 0
      client/CPlayerInterface.cpp

+ 2 - 0
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