浏览代码

Fix bad formatting

David Zéni 10 年之前
父节点
当前提交
41293caf83
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      server/CGameHandler.cpp

+ 2 - 2
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;