summaryrefslogtreecommitdiff
path: root/src/game/g_weapon.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2003-08-20 03:15:02 +0000
committerTim Angus <tim@ngus.net>2003-08-20 03:15:02 +0000
commit7edc5b60728487eb16d28cbe2d5620ce9439761c (patch)
treec947b0f4b08c25297b044ae716d3fcbbe70b2859 /src/game/g_weapon.c
parente69c3d70902135483ae2e0d998b3b1888640a751 (diff)
* Finally got off my ass and added some MOD_s ... finish tomorrow
Diffstat (limited to 'src/game/g_weapon.c')
-rw-r--r--src/game/g_weapon.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/g_weapon.c b/src/game/g_weapon.c
index 2d9d0744..06be1359 100644
--- a/src/game/g_weapon.c
+++ b/src/game/g_weapon.c
@@ -402,7 +402,7 @@ void teslaFire( gentity_t *ent )
if( traceEnt->takedamage)
{
G_Damage( traceEnt, ent, ent, forward, tr.endpos,
- damage, 0, MOD_LIGHTNING);
+ damage, 0, MOD_TESLAGEN );
}
// snap the endpos to integers to save net bandwidth, but nudged towards the line
@@ -774,7 +774,7 @@ void areaZapFire( gentity_t *ent )
//do some damage
G_Damage( enemy, ent, ent, dir, tr.endpos,
- damage, DAMAGE_NO_KNOCKBACK, MOD_LIGHTNING );
+ damage, DAMAGE_NO_KNOCKBACK, MOD_TESLAGEN );
// snap the endpos to integers to save net bandwidth, but nudged towards the line
SnapVectorTowards( tr.endpos, muzzle );
@@ -846,7 +846,7 @@ void directZapFire( gentity_t *ent )
{
//do some damage
G_Damage( target, ent, ent, dir, tr.endpos,
- CHIMERA_DIRECTZAP_DMG, DAMAGE_NO_KNOCKBACK, MOD_LIGHTNING );
+ CHIMERA_DIRECTZAP_DMG, DAMAGE_NO_KNOCKBACK, MOD_TESLAGEN );
// snap the endpos to integers to save net bandwidth, but nudged towards the line
SnapVectorTowards( tr.endpos, muzzle );