summaryrefslogtreecommitdiff
path: root/src/game/g_cmds.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2001-12-22 04:06:28 +0000
committerTim Angus <tim@ngus.net>2001-12-22 04:06:28 +0000
commit37651838b6ed3731f50ce0c798b02161ca2919ab (patch)
tree2954f8ec23fcd26b77d12aa70303b1a6ae28f6da /src/game/g_cmds.c
parentd90bdf12e0aaa4cef3772d0d50fc40dfb1f09802 (diff)
Bug fixes to droid->alien conversion :)
Diffstat (limited to 'src/game/g_cmds.c')
-rw-r--r--src/game/g_cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c
index 72f3d457..2c36243b 100644
--- a/src/game/g_cmds.c
+++ b/src/game/g_cmds.c
@@ -1708,7 +1708,7 @@ void Cmd_Destroy_f( gentity_t *ent )
if( tr.fraction < 1.0 &&
( traceEnt->s.eType == ET_BUILDABLE ) &&
( traceEnt->biteam == ent->client->pers.pteam ) &&
- ( ( ent->client->ps.weapon >= WP_DBUILD ) &&
+ ( ( ent->client->ps.weapon >= WP_ABUILD ) &&
( ent->client->ps.weapon <= WP_HBUILD ) ) )
G_Damage( traceEnt, ent, ent, forward, tr.endpos, 10000, 0, MOD_SUICIDE );