summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/g_buildable.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c
index b66b3ad3..7052a67e 100644
--- a/src/game/g_buildable.c
+++ b/src/game/g_buildable.c
@@ -2577,13 +2577,10 @@ void HSpawn_Think( gentity_t *self )
{
gentity_t *ent;
- // spawns work without power
- self->powered = qtrue;
-
G_SuicideIfNoPower( self );
// set parentNode
- G_FindPower( self );
+ self->powered = G_FindPower( self );
if( self->spawned )
{