mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
vs error .. :)
This commit is contained in:
parent
7bf877d252
commit
92816367d1
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue