summaryrefslogtreecommitdiff
path: root/src/cgame
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2004-03-28 02:07:27 +0000
committerTim Angus <tim@ngus.net>2004-03-28 02:07:27 +0000
commit36ceed63fed29968e418ac4d4bd60d1c1a14bec8 (patch)
treec0b4a65ac14807e99c9e3e34ed003aff7a15f8c0 /src/cgame
parent1c686ae22446e294c796d8bebf5cc1693cbc6235 (diff)
* Fixed bug where upgraded chimera's electrical attack sometimes didn't work
Diffstat (limited to 'src/cgame')
-rw-r--r--src/cgame/cg_weapons.c6
1 files changed, 3 insertions, 3 deletions
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 );