Fixed indentation.
This commit is contained in:
parent
b1ae2a4128
commit
e44c25018a
22
src/game.cpp
22
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;
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue