void W_Rocket_Touch (void)
{
+ if(WarpZone_Projectile_Touch())
+ {
+ if(wasfreed(self))
+ W_Rocket_Unregister();
+ return;
+ }
W_Rocket_Unregister();
-
- PROJECTILE_TOUCH;
W_Rocket_Explode ();
}
precache_sound("weapons/rocket_impact.wav");
}
else if (req == WR_SUICIDEMESSAGE)
- w_deathtypestring = "exploded";
+ w_deathtypestring = "%s exploded";
else if (req == WR_KILLMESSAGE)
{
if(w_deathtype & HITTYPE_BOUNCE) // (remote detonation)
- w_deathtypestring = "got too close to #'s rocket";
+ w_deathtypestring = "%s got too close to %s's rocket";
else if(w_deathtype & HITTYPE_SPLASH)
- w_deathtypestring = "almost dodged #'s rocket";
+ w_deathtypestring = "%s almost dodged %s's rocket";
else
- w_deathtypestring = "ate #'s rocket";
+ w_deathtypestring = "%s ate %s's rocket";
}
return TRUE;
}