Browse Source

#3006 - fix starting move from teleport

Andrii Danylchenko 1 year ago
parent
commit
91c04f4718
1 changed files with 1 additions and 1 deletions
  1. 1 1
      client/HeroMovementController.cpp

+ 1 - 1
client/HeroMovementController.cpp

@@ -359,7 +359,7 @@ void HeroMovementController::moveOnce(const CGHeroInstance * h, const CGPath & p
 	{
 		stopMovementSound();
 		logGlobal->trace("Requesting hero teleportation to %s", nextNode.coord.toString());
-		LOCPLINT->cb->moveHero(h, nextCoord, false);
+		LOCPLINT->cb->moveHero(h, h->pos, false);
 		return;
 	}
 	else