summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2005-02-02 19:16:41 +0000
committerTim Angus <tim@ngus.net>2005-02-02 19:16:41 +0000
commit47221c9c78f4a027211a041eb2ad527339b4d54b (patch)
tree5ef8b7244c157c09b3c961ad77b218b7bc4447ae /src
parent1512ed310b3647233f003f162b7a3ab903bd3bc3 (diff)
* Fix to [ 1114414 ] Overmind - Evolution bug
Diffstat (limited to 'src')
-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 e5e3a6fe..a8ff8c61 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 && ent->health > 0 )
+ if( buildable == BA_H_REACTOR && ent->spawned && ent->health > 0 )
level.reactorPresent = qtrue;
- if( buildable == BA_A_OVERMIND && ent->health > 0 )
+ if( buildable == BA_A_OVERMIND && ent->spawned && ent->health > 0 )
level.overmindPresent = qtrue;
if( BG_FindTeamForBuildable( buildable ) == BIT_HUMANS )