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.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c
index e797dab2..ab9e77b5 100644
--- a/src/game/g_main.c
+++ b/src/game/g_main.c
@@ -1247,17 +1247,8 @@ void G_CalculateBuildPoints( void )
if( powerEntity->usesZone && level.powerZones[ powerEntity->zone ].active )
{
zone_t *zone = &level.powerZones[ powerEntity->zone ];
- // Only power as much as a repeater can power
- if( zone->totalBuildPoints < 0 || zone->queuedBuildPoints > zone->totalBuildPoints )
- {
- // Don't unpower spawns
- if( buildable != BA_H_SPAWN )
- ent->powered = qfalse;
- }
- else
- {
- zone->totalBuildPoints -= BG_Buildable( buildable )->buildPoints;
- }
+
+ zone->totalBuildPoints -= BG_Buildable( buildable )->buildPoints;
}
break;