codemp/cgame/fx_force.c File Reference

#include "cg_local.h"

Go to the source code of this file.

Functions

void FX_ForceDrained (vec3_t origin, vec3_t dir)


Function Documentation

void FX_ForceDrained vec3_t  origin,
vec3_t  dir
 

Definition at line 11 of file fx_force.c.

References cgs, cgs_t::effects, cgEffects_t::forceDrained, trap_FX_PlayEffectID(), vec3_t, and VectorScale.

00012 {
00013         VectorScale(dir, -1.0, dir);
00014         trap_FX_PlayEffectID(cgs.effects.forceDrained, origin, dir, -1, -1);
00015 }