1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-12 02:28:11 +02:00

Fix bad formatting

This commit is contained in:
David Zéni 2015-08-29 20:02:27 +02:00
parent b49fb7d07f
commit 41293caf83

View File

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