mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
Fixed #351.
Fixed grail placement. Fixed crashbug with removing monster on RoE map. Version set to 0.75d
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user