vs error .. :)

This commit is contained in:
Jakob Fries 2007-08-04 01:57:01 +00:00
parent 7bf877d252
commit 92816367d1

View file

@ -911,6 +911,7 @@ int player::handle_weapons()
create_sound(pos, SOUND_ROCKET_FIRE);
break;
case WEAPON_SHOTGUN:
{
int shotspread = min(2, weapons[active_weapon].ammo);
for(int i = -shotspread; i <= shotspread; i++)
{
@ -927,6 +928,7 @@ int player::handle_weapons()
}
create_sound(pos, SOUND_SHOTGUN_FIRE);
break;
}
case WEAPON_ROCKET_BACKPACK:
new projectile_backpackrocket(
pos+vec2(0,0),