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

Compile fix - srsly?

This commit is contained in:
DjWarmonger 2015-07-18 20:47:09 +02:00
parent 50b7b8e47b
commit c5691cbeb1

View File

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