Ver Fonte

Compile fix - srsly?

DjWarmonger há 10 anos atrás
pai
commit
c5691cbeb1
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      server/CGameHandler.cpp

+ 1 - 1
server/CGameHandler.cpp

@@ -4216,7 +4216,7 @@ void CGameHandler::stackTurnTrigger(const CStack * st)
 		if (st->casts && !gs->curB->sides.at(side).enchanterCounter)
 		{
 			bool casted = false;
-			while (!bl.empty() and !casted)
+			while (!bl.empty() && !casted)
 			{
 				auto bonus = *RandomGeneratorUtil::nextItem(bl, gs->getRandomGenerator());
 				auto spellID = SpellID(bonus->subtype);