From 51f8195fe9846eaf3482da7ccce44064a7c2900a Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sun, 21 Sep 2003 18:23:47 +0000 Subject: * Fully generalised scriptable paricle system * Changes to Makefile and depend file for above * Tweaks to entities.def * Apparently a bunch of other stuff I've forgotten about --- src/cgame/cg_ents.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cgame/cg_ents.c') diff --git a/src/cgame/cg_ents.c b/src/cgame/cg_ents.c index c7590ca0..e7a8bd22 100644 --- a/src/cgame/cg_ents.c +++ b/src/cgame/cg_ents.c @@ -386,7 +386,7 @@ static void CG_Missile( centity_t *cent ) ent.renderfx = weapon->missileRenderfx | RF_NOSHADOW; // convert direction of travel into axis - if ( VectorNormalize2( s1->pos.trDelta, ent.axis[ 0 ] ) == 0 ) + if( VectorNormalize2( s1->pos.trDelta, ent.axis[ 0 ] ) == 0 ) ent.axis[ 0 ][ 2 ] = 1; RotateAroundDirection( ent.axis, cg.time / 4 ); -- cgit