1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

#3006 - fix starting move from teleport

This commit is contained in:
Andrii Danylchenko 2023-11-04 15:43:08 +02:00
parent a8cc5e1d60
commit 91c04f4718

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