diff --git a/server/CGameHandler.cpp b/server/CGameHandler.cpp index 9f982fa30..d42d95d8c 100644 --- a/server/CGameHandler.cpp +++ b/server/CGameHandler.cpp @@ -5414,7 +5414,7 @@ void CGameHandler::runBattle() continue; } - if( next->getCreature()->idNumber == CreatureID::CATAPULT ) + if(next->getCreature()->idNumber == CreatureID::CATAPULT) { const auto & attackableBattleHexes = curB.getAttackableBattleHexes(); @@ -5428,7 +5428,7 @@ void CGameHandler::runBattle() { BattleAction attack; attack.destinationTile = *RandomGeneratorUtil::nextItem(attackableBattleHexes, - gs->getRandomGenerator()); + gs->getRandomGenerator()); attack.actionType = Battle::CATAPULT; attack.additionalInfo = 0; attack.side = !next->attackerOwned;