mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
Do not check for guards when teleporting using means other than DD
This commit is contained in:
@@ -65,7 +65,7 @@ void ApplyGhNetPackVisitor::visitMoveHero(MoveHero & pack)
|
||||
|
||||
for (auto const & dest : pack.path)
|
||||
{
|
||||
if (!gh.moveHero(pack.hid, dest, 0, pack.transit, pack.player))
|
||||
if (!gh.moveHero(pack.hid, dest, EMovementMode::STANDARD, pack.transit, pack.player))
|
||||
{
|
||||
result = false;
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user