Jelajahi Sumber

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

Frank Zago 14 tahun lalu
induk
melakukan
5eab8339d0
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      server/CGameHandler.cpp

+ 1 - 1
server/CGameHandler.cpp

@@ -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;