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:
parent
50b7b8e47b
commit
c5691cbeb1
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user