From e44c25018a5645c09b67b7b64ec56b878583cb60 Mon Sep 17 00:00:00 2001 From: Julian Date: Wed, 12 Mar 2014 15:18:41 -0400 Subject: [PATCH] Fixed indentation. --- src/game.cpp | 22 +++++++++++----------- src/missions.cpp | 6 +++--- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/game.cpp b/src/game.cpp index c4af4bc..48cc151 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -70,17 +70,17 @@ void newGame() currentGame.maxPlasmaAmmo = 100; currentGame.maxRocketAmmo = 10; - if (currentGame.gamePlay == GAMEPLAY_ONPON) - { - currentGame.shieldUnits = 2; - player.maxShield = 50; - player.shield = 50; - } - else - { - currentGame.shieldUnits = 1; - player.maxShield = 25; - player.shield = 25; + if (currentGame.gamePlay == GAMEPLAY_ONPON) + { + currentGame.shieldUnits = 2; + player.maxShield = 50; + player.shield = 50; + } + else + { + currentGame.shieldUnits = 1; + player.maxShield = 25; + player.shield = 25; } player.ammo[0] = 0; diff --git a/src/missions.cpp b/src/missions.cpp index c384603..94a93fe 100644 --- a/src/missions.cpp +++ b/src/missions.cpp @@ -161,7 +161,7 @@ void updateSystemStatus() initPlanetMissions(currentGame.system); if (currentGame.gamePlay != GAMEPLAY_ONPON) - currentGame.shieldUnits = 2; + currentGame.shieldUnits = 2; } else if (currentGame.area == 11) { @@ -172,7 +172,7 @@ void updateSystemStatus() initPlanetMissions(currentGame.system); if (currentGame.gamePlay != GAMEPLAY_ONPON) - currentGame.shieldUnits = 3; + currentGame.shieldUnits = 3; } else if (currentGame.area == 18) { @@ -183,7 +183,7 @@ void updateSystemStatus() initPlanetMissions(currentGame.system); if (currentGame.gamePlay != GAMEPLAY_ONPON) - currentGame.shieldUnits = 4; + currentGame.shieldUnits = 4; } else // Update the mission for the planet {