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:
parent
8789968d67
commit
5eab8339d0
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user