diff --git a/src/game.cpp b/src/game.cpp index 45e8548..c4af4bc 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -70,10 +70,19 @@ void newGame() currentGame.maxPlasmaAmmo = 100; currentGame.maxRocketAmmo = 10; - currentGame.shieldUnits = 1; + 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.maxShield = 25; - player.shield = 25; player.ammo[0] = 0; player.ammo[1] = 5; player.weaponType[0] = W_PLAYER_WEAPON; diff --git a/src/missions.cpp b/src/missions.cpp index 37b6502..c384603 100644 --- a/src/missions.cpp +++ b/src/missions.cpp @@ -160,7 +160,8 @@ void updateSystemStatus() strcpy(currentGame.stationedName, "Nerod"); initPlanetMissions(currentGame.system); - currentGame.shieldUnits = 2; + if (currentGame.gamePlay != GAMEPLAY_ONPON) + currentGame.shieldUnits = 2; } else if (currentGame.area == 11) { @@ -170,7 +171,8 @@ void updateSystemStatus() strcpy(currentGame.stationedName, "Odeon"); initPlanetMissions(currentGame.system); - currentGame.shieldUnits = 3; + if (currentGame.gamePlay != GAMEPLAY_ONPON) + currentGame.shieldUnits = 3; } else if (currentGame.area == 18) { @@ -180,7 +182,8 @@ void updateSystemStatus() strcpy(currentGame.stationedName, "Pluto"); initPlanetMissions(currentGame.system); - currentGame.shieldUnits = 4; + if (currentGame.gamePlay != GAMEPLAY_ONPON) + currentGame.shieldUnits = 4; } else // Update the mission for the planet { diff --git a/src/player.cpp b/src/player.cpp index 24e2774..c5cd601 100644 --- a/src/player.cpp +++ b/src/player.cpp @@ -113,7 +113,7 @@ void doPlayer() if (player.weaponType[1] == W_CHARGER) { - if (engine.keyState[SDLK_SPACE]) + if (engine.keyState[SDLK_SPACE] && !(currentGame.gamePlay == GAMEPLAY_ONPON && (engine.keyState[SDLK_LCTRL] || engine.keyState[SDLK_RCTRL]))) { limitCharAdd(&player.ammo[1], 1, 0, 200); }