|
@@ -2771,7 +2771,8 @@ void CPlayerInterface::doMoveHero(const CGHeroInstance * h, CGPath path)
|
|
|
destinationTeleport = destTeleportObj->id;
|
|
destinationTeleport = destTeleportObj->id;
|
|
|
destinationTeleportPos = nextCoord;
|
|
destinationTeleportPos = nextCoord;
|
|
|
doMovement(h->pos, false);
|
|
doMovement(h->pos, false);
|
|
|
- if (path.nodes[i-1].action == CGPathNode::TELEPORT_BLOCKING_VISIT)
|
|
|
|
|
|
|
+ if (path.nodes[i-1].action == CGPathNode::TELEPORT_BLOCKING_VISIT
|
|
|
|
|
+ || path.nodes[i-1].action == CGPathNode::TELEPORT_BATTLE)
|
|
|
{
|
|
{
|
|
|
destinationTeleport = ObjectInstanceID();
|
|
destinationTeleport = ObjectInstanceID();
|
|
|
destinationTeleportPos = int3(-1);
|
|
destinationTeleportPos = int3(-1);
|