From 36ceed63fed29968e418ac4d4bd60d1c1a14bec8 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sun, 28 Mar 2004 02:07:27 +0000 Subject: * Fixed bug where upgraded chimera's electrical attack sometimes didn't work --- src/cgame/cg_weapons.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/cgame') diff --git a/src/cgame/cg_weapons.c b/src/cgame/cg_weapons.c index 87534f23..d16d2f5f 100644 --- a/src/cgame/cg_weapons.c +++ b/src/cgame/cg_weapons.c @@ -180,7 +180,7 @@ void CG_TeslaTrail( vec3_t start, vec3_t end, int srcENum, int destENum ) le->srcENum = srcENum; le->destENum = destENum; le->vOffset = 28; - le->maxRange = BG_FindRangeForBuildable( BA_H_TESLAGEN ) * M_SQRT2; + le->maxRange = BG_FindRangeForBuildable( BA_H_TESLAGEN ) * M_ROOT3; VectorCopy( start, re->origin ); VectorCopy( end, re->oldorigin ); @@ -208,9 +208,9 @@ void CG_AlienZap( vec3_t start, vec3_t end, int srcENum, int destENum ) le->srcENum = srcENum; le->destENum = destENum; - le->vOffset = -4; + le->vOffset = 6.0f; - le->maxRange = CHIMERA_AREAZAP_RANGE; + le->maxRange = CHIMERA_AREAZAP_RANGE * M_ROOT3; VectorCopy( start, re->origin ); VectorCopy( end, re->oldorigin ); -- cgit