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:
parent
1d34d15983
commit
485a8b5c9a
@ -276,6 +276,8 @@ void CPlayerInterface::heroMoved(const TryMoveHero & details)
|
|||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
adventureInt->centerOn(hero); //actualizing screen pos
|
||||||
|
adventureInt->minimap.redraw();
|
||||||
adventureInt->heroList.update(hero);
|
adventureInt->heroList.update(hero);
|
||||||
return; //teleport - no fancy moving animation
|
return; //teleport - no fancy moving animation
|
||||||
//TODO: smooth disappear / appear effect
|
//TODO: smooth disappear / appear effect
|
||||||
|
Loading…
Reference in New Issue
Block a user