1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +02:00
Fixed grail placement.
Fixed crashbug with removing monster on RoE map.
Version set to 0.75d
This commit is contained in:
Michał W. Urbańczyk
2010-02-12 00:53:25 +00:00
parent 5d0186a10b
commit 51946e60a5
4 changed files with 6 additions and 5 deletions

View File

@@ -230,9 +230,10 @@ void CPlayerInterface::heroMoved(const TryMoveHero & details)
if(makingTurn && ho->tempOwner == playerID) //we are moving our hero - we may need to update assigned path
{
if(details.result == TryMoveHero::TELEPORTATION/* || details.start == details.end*/)
if(details.result == TryMoveHero::TELEPORTATION || details.start == details.end)
{
adventureInt->eraseCurrentPathOf(ho);
if(adventureInt->terrain.currentPath)
adventureInt->eraseCurrentPathOf(ho);
return; //teleport - no fancy moving animation
//TODO: smooth disappear / appear effect
}