diff --git a/server/CGameHandler.cpp b/server/CGameHandler.cpp index 13cf68c43..eaff4edc7 100644 --- a/server/CGameHandler.cpp +++ b/server/CGameHandler.cpp @@ -973,12 +973,11 @@ bool CGameHandler::moveHero(ObjectInstanceID hid, int3 dst, EMovementMode moveme doMove(TryMoveHero::TELEPORTATION, guardsCheck, DONT_VISIT_DEST, LEAVING_TILE); // visit town for town portal \ castle gates - // do not use generic visitObjectOnTile to avoid double-teleporting - // if this moveHero call was triggered by teleporter + // do not visit any other objects, e.g. monoliths to avoid double-teleporting if (objectToVisit) { if (CGTownInstance * town = dynamic_cast(objectToVisit)) - town->onHeroVisit(h); + objectVisited(town, h); } return true;