@@ -299,7 +299,7 @@ void BattlescapeGame::handleAI(BattleUnit *unit)
299299 // show a little infobox with the name of the unit and "... is under alien control"
300300 Game *game = _parentState->getGame ();
301301 BattleUnit *unit = _save->getTile (action.target )->getUnit ();
302- game->pushState (new InfoboxState (game->getLanguage ()->getString (" STR_IS_UNDER_ALIEN_CONTROL" , unit->getGender ()).arg (unit->getName (game->getLanguage ()))));
302+ game->pushState (new InfoboxState (game->getLanguage ()->getString (" STR_IS_UNDER_ALIEN_CONTROL" , unit->getGender ()).arg (unit->getName (game->getLanguage ()))));
303303 }
304304 _save->removeItem (action.weapon );
305305 }
@@ -471,7 +471,7 @@ void BattlescapeGame::endTurn()
471471 if ((_save->getSide () != FACTION_NEUTRAL || battleComplete)
472472 && _endTurnRequested)
473473 {
474- _parentState->getGame ()->pushState (new NextTurnState (_save, _parentState));
474+ _parentState->getGame ()->pushState (new NextTurnState (_save, _parentState));
475475 }
476476 _endTurnRequested = false ;
477477}
@@ -1230,7 +1230,7 @@ void BattlescapeGame::primaryAction(const Position &pos)
12301230 if (_currentAction.actor ->spendTimeUnits (_currentAction.TU ))
12311231 {
12321232 _parentState->getGame ()->getResourcePack ()->getSound (" BATTLE.CAT" , _currentAction.weapon ->getRules ()->getHitSound ())->play ();
1233- _parentState->getGame ()->pushState (new UnitInfoState (_save->selectUnit (pos), _parentState, false , true ));
1233+ _parentState->getGame ()->pushState (new UnitInfoState (_save->selectUnit (pos), _parentState, false , true ));
12341234 cancelCurrentAction ();
12351235 }
12361236 else
@@ -1270,9 +1270,9 @@ void BattlescapeGame::primaryAction(const Position &pos)
12701270 // show a little infobox if it's successful
12711271 Game *game = _parentState->getGame ();
12721272 if (_currentAction.type == BA_PANIC )
1273- game->pushState (new InfoboxState (game->getLanguage ()->getString (" STR_MORALE_ATTACK_SUCCESSFUL" )));
1273+ game->pushState (new InfoboxState (game->getLanguage ()->getString (" STR_MORALE_ATTACK_SUCCESSFUL" )));
12741274 else if (_currentAction.type == BA_MINDCONTROL )
1275- game->pushState (new InfoboxState (game->getLanguage ()->getString (" STR_MIND_CONTROL_SUCCESSFUL" )));
1275+ game->pushState (new InfoboxState (game->getLanguage ()->getString (" STR_MIND_CONTROL_SUCCESSFUL" )));
12761276 _parentState->updateSoldierInfo ();
12771277 }
12781278 }
0 commit comments