Restored original triple and quad spread for Classic difficulty.
This commit is contained in:
parent
0bacdfa494
commit
5931846f03
16
src/ship.cpp
16
src/ship.cpp
|
@ -91,9 +91,17 @@ void ship_fireBullet(Object *ship, int weaponIndex)
|
|||
}
|
||||
|
||||
if (theWeapon->flags & WF_SPREAD && theWeapon->ammo[0] >= 3)
|
||||
{
|
||||
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);
|
||||
|
@ -104,11 +112,19 @@ void ship_fireBullet(Object *ship, int weaponIndex)
|
|||
}
|
||||
|
||||
if (theWeapon->ammo[0] == 5)
|
||||
{
|
||||
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
|
||||
{
|
||||
if (theWeapon->ammo[0] & 1)
|
||||
|
|
Loading…
Reference in New Issue