summaryrefslogtreecommitdiff
path: root/src/game/g_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_main.c')
-rw-r--r--src/game/g_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c
index 93a3c8a6..e5e3a6fe 100644
--- a/src/game/g_main.c
+++ b/src/game/g_main.c
@@ -959,10 +959,10 @@ void G_CalculateBuildPoints( void )
if( buildable != BA_NONE )
{
- if( buildable == BA_H_REACTOR )
+ if( buildable == BA_H_REACTOR && ent->health > 0 )
level.reactorPresent = qtrue;
- if( buildable == BA_A_OVERMIND )
+ if( buildable == BA_A_OVERMIND && ent->health > 0 )
level.overmindPresent = qtrue;
if( BG_FindTeamForBuildable( buildable ) == BIT_HUMANS )