1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-02-05 13:04:54 +02:00

Someone likes to put semicolons in the wrong places. Fixed.

This commit is contained in:
Frank Zago 2011-07-28 00:38:19 +00:00
parent 8789968d67
commit 5eab8339d0

View File

@ -4660,7 +4660,7 @@ bool CGameHandler::castSpell(const CGHeroInstance *h, int spellID, const int3 &p
}
if (h->visitedTown)
stopHeroVisitCastle(h->visitedTown->id, h->id);
if (moveHero(h->id, town->visitablePos() + h->getVisitableOffset() ,1));
if (moveHero(h->id, town->visitablePos() + h->getVisitableOffset() ,1))
heroVisitCastle(town->id, h->id);
}
break;