The flump makes sound when exploding.

This commit is contained in:
Joel de Vahl 2007-07-26 14:08:56 +00:00
parent ebe42f54d0
commit daef2cff77

View file

@ -549,7 +549,7 @@ void projectile::tick()
entity *targetplayer = (entity*)intersect_player(oldpos, pos, new_pos, powner);
if(targetplayer || lifespan < 0 || col_check_point((int)pos.x, (int)pos.y))
{
if (lifespan >= 0)
if (lifespan >= 0 || weapon == WEAPON_ROCKET)
create_sound(pos, sound_impact);
if (flags & PROJECTILE_FLAGS_EXPLODE)