}
else if (req == WR_CHECKAMMO2)
return FALSE;
+ else if (req == WR_RESETPLAYER)
+ {
+ self.rl_release = 0;
+ }
+ return TRUE;
+};
+#endif
+#ifdef CSQC
+float w_rlauncher(float req)
+{
+ if(req == WR_IMPACTEFFECT)
+ {
+ vector org2;
+ org2 = w_org + w_backoff * 12;
+ pointparticles(particleeffectnum("rocket_explode"), org2, '0 0 0', 1);
+ if(!w_issilent)
+ sound(self, CHAN_PROJECTILE, "weapons/rocket_impact.wav", VOL_BASE, ATTN_NORM);
+ }
+ else if(req == WR_PRECACHE)
+ {
+ precache_sound("weapons/rocket_impact.wav");
+ }
else if (req == WR_SUICIDEMESSAGE)
w_deathtypestring = "exploded";
else if (req == WR_KILLMESSAGE)
else
w_deathtypestring = "ate #'s rocket";
}
- else if (req == WR_RESETPLAYER)
- {
- self.rl_release = 0;
- }
- return TRUE;
-};
-#endif
-#ifdef CSQC
-float w_rlauncher(float req)
-{
return TRUE;
}
#endif