summaryrefslogtreecommitdiff
path: root/src/game/g_buildable.c
diff options
context:
space:
mode:
authorTony J. White <tjw@tjw.org>2007-08-30 21:37:42 +0000
committerTony J. White <tjw@tjw.org>2007-08-30 21:37:42 +0000
commit27ad2c0e19891f7f2454c9eedf76878dc1942ba6 (patch)
tree0a9d2bca27e90c8089512e3f38984580563bc45e /src/game/g_buildable.c
parent0dfbff21e82c091f9befd4489ad9d7de6908c6b3 (diff)
* (bug 2989) committed the wrong patch for this bug originally (thanks Jacques)
Diffstat (limited to 'src/game/g_buildable.c')
-rw-r--r--src/game/g_buildable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c
index 33f08ae0..3c328a81 100644
--- a/src/game/g_buildable.c
+++ b/src/game/g_buildable.c
@@ -770,7 +770,7 @@ void AOvermind_Think( gentity_t *self )
for( i = 0; i < level.numConnectedClients; i++ )
{
builder = &g_entities[ level.sortedClients[ i ] ];
- if( builder->spawned &&
+ if( builder->health > 0 &&
( builder->client->pers.classSelection == PCL_ALIEN_BUILDER0 ||
builder->client->pers.classSelection == PCL_ALIEN_BUILDER0_UPG ) )
{