Removed wide-spread in Classic difficulty.
I had set it this way because it's how version 1.2 behaves, but having experimented and looked at the 1.1 source code, the way I changed it to is actually the original behavior! So, now it spreads as in the original.
This commit is contained in:
parent
9863aef0ba
commit
d31b65f50e
12
src/ship.c
12
src/ship.c
|
@ -92,16 +92,8 @@ void ship_fireBullet(Object *ship, int weaponIndex)
|
||||||
|
|
||||||
if (theWeapon->flags & WF_SPREAD && theWeapon->ammo[0] >= 3)
|
if (theWeapon->flags & WF_SPREAD && theWeapon->ammo[0] >= 3)
|
||||||
{
|
{
|
||||||
if (game.difficulty == DIFFICULTY_ORIGINAL)
|
bullet_add(theWeapon, ship, y * 2, -1);
|
||||||
{
|
bullet_add(theWeapon, ship, y * 4, 1);
|
||||||
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)
|
if (theWeapon->ammo[0] != 4)
|
||||||
bullet_add(theWeapon, ship, y * 3, 0);
|
bullet_add(theWeapon, ship, y * 3, 0);
|
||||||
|
|
Loading…
Reference in New Issue