diff --git a/dat/ship.xml b/dat/ship.xml index 751be6b..0db2949 100644 --- a/dat/ship.xml +++ b/dat/ship.xml @@ -31,14 +31,11 @@ Lancelot Fighter Bay - Lancelot Fighter + Lancelot Fighter Banshee Launcher - Banshee Rocket - Ripper MK2 - Ragnarok Beam - Orion Beam + Banshee Rocket Headhunter Launcher - Headhunter + Headhunter diff --git a/src/weapon.c b/src/weapon.c index 0601481..2f09b17 100644 --- a/src/weapon.c +++ b/src/weapon.c @@ -160,6 +160,7 @@ static void think_seeker(Weapon* w, const double dt) { double vel; Pilot* p; int effect; + int spfx; if(w->target == w->parent) return; /* HEY! Self harm is not allowed. */ @@ -185,6 +186,10 @@ static void think_seeker(Weapon* w, const double dt) { switch(effect) { case 0: /* Blow up. */ w->timer = -1.; + spfx = outfit_spfxArmour(w->outfit); + spfx_add(spfx, w->solid->pos.x, w->solid->pos.y, + w->solid->vel.x, w->solid->vel.y, + SPFX_LAYER_BACK); /* Presume back. */ break; case 1: /* Stuck in left loop. */ w->solid->dir_vel = w->outfit->u.amm.turn;