From 5931846f03496096978f87bcedbbb4e4e9f37437 Mon Sep 17 00:00:00 2001 From: Julie Marchant Date: Tue, 21 May 2019 13:49:28 -0400 Subject: [PATCH] Restored original triple and quad spread for Classic difficulty. --- src/ship.cpp | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/src/ship.cpp b/src/ship.cpp index 811dfd2..970d815 100644 --- a/src/ship.cpp +++ b/src/ship.cpp @@ -92,8 +92,16 @@ void ship_fireBullet(Object *ship, int weaponIndex) if (theWeapon->flags & WF_SPREAD && theWeapon->ammo[0] >= 3) { - bullet_add(theWeapon, ship, y * 2, -1); - bullet_add(theWeapon, ship, y * 4, 1); + if (game.difficulty == DIFFICULTY_ORIGINAL) + { + bullet_add(theWeapon, ship, y * 1, -2); + bullet_add(theWeapon, ship, y * 5, 2); + } + else + { + bullet_add(theWeapon, ship, y * 2, -1); + bullet_add(theWeapon, ship, y * 4, 1); + } if (theWeapon->ammo[0] != 4) bullet_add(theWeapon, ship, y * 3, 0); @@ -105,8 +113,16 @@ void ship_fireBullet(Object *ship, int weaponIndex) if (theWeapon->ammo[0] == 5) { - bullet_add(theWeapon, ship, y * 1, -2); - bullet_add(theWeapon, ship, y * 5, 2); + if (game.difficulty == DIFFICULTY_ORIGINAL) + { + bullet_add(theWeapon, ship, y * 2, -1); + bullet_add(theWeapon, ship, y * 4, 1); + } + else + { + bullet_add(theWeapon, ship, y * 1, -2); + bullet_add(theWeapon, ship, y * 5, 2); + } } } else