1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

Merge pull request #3146 from vcmi/fix-3006

#3006 - fix starting move from teleport
This commit is contained in:
Andrii Danylchenko
2023-11-05 11:12:41 +02:00
committed by GitHub

View File

@@ -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