codemp/cgame/fx_force.c

Go to the documentation of this file.
00001 // Any dedicated force oriented effects
00002 
00003 #include "cg_local.h"
00004 
00005 /*
00006 -------------------------
00007 FX_ForceDrained
00008 -------------------------
00009 */
00010 // This effect is not generic because of possible enhancements
00011 void FX_ForceDrained(vec3_t origin, vec3_t dir)
00012 {
00013         VectorScale(dir, -1.0, dir);
00014         trap_FX_PlayEffectID(cgs.effects.forceDrained, origin, dir, -1, -1);
00015 }
00016