1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00
Support for Admiral's Hat
This commit is contained in:
DjWarmonger
2011-06-21 16:00:19 +00:00
parent af8d8cbfc7
commit 5eef9551de
3 changed files with 15 additions and 2 deletions

View File

@@ -253,6 +253,7 @@ void CPlayerInterface::heroMoved(const TryMoveHero & details)
{
if(adventureInt->terrain.currentPath)
eraseCurrentPathOf(ho);
cb->recalculatePaths();
return; //teleport - no fancy moving animation
//TODO: smooth disappear / appear effect
}