1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

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

This commit is contained in:
Fay 2015-02-06 19:11:04 +01:00
parent 1d34d15983
commit 485a8b5c9a

View File

@ -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