2
0
David Zéni 10 жил өмнө
parent
commit
41293caf83

+ 2 - 2
server/CGameHandler.cpp

@@ -5414,7 +5414,7 @@ void CGameHandler::runBattle()
 				continue;
 				continue;
 			}
 			}
 
 
-			if( next->getCreature()->idNumber == CreatureID::CATAPULT )
+			if(next->getCreature()->idNumber == CreatureID::CATAPULT)
 			{
 			{
 				const auto & attackableBattleHexes = curB.getAttackableBattleHexes();
 				const auto & attackableBattleHexes = curB.getAttackableBattleHexes();
 
 
@@ -5428,7 +5428,7 @@ void CGameHandler::runBattle()
 				{
 				{
 					BattleAction attack;
 					BattleAction attack;
 					attack.destinationTile = *RandomGeneratorUtil::nextItem(attackableBattleHexes,
 					attack.destinationTile = *RandomGeneratorUtil::nextItem(attackableBattleHexes,
-																			gs->getRandomGenerator());
+												gs->getRandomGenerator());
 					attack.actionType = Battle::CATAPULT;
 					attack.actionType = Battle::CATAPULT;
 					attack.additionalInfo = 0;
 					attack.additionalInfo = 0;
 					attack.side = !next->attackerOwned;
 					attack.side = !next->attackerOwned;