summaryrefslogtreecommitdiff
path: root/src/game/g_client.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_client.c')
-rw-r--r--src/game/g_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_client.c b/src/game/g_client.c
index d9f7e541..5e15162f 100644
--- a/src/game/g_client.c
+++ b/src/game/g_client.c
@@ -256,7 +256,7 @@ static gentity_t *G_SelectSpawnBuildable( vec3_t preference, buildable_t buildab
if( search->health <= 0 )
continue;
- if( !search->s.groundEntityNum )
+ if( search->s.groundEntityNum == ENTITYNUM_NONE )
continue;
if( search->clientSpawnTime > 0 )