summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBen Millwood <thebenmachine@gmail.com>2009-10-03 13:14:22 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:16:36 +0000
commit495cefd67482bf3383c2cc62ac1dc5de443b30ec (patch)
treeb18748b01be0564b8c2efd9a72186fc233b59874 /src
parent0fa8ef6031aa48365bbb3d77d958395439639741 (diff)
display unpowered icon for telenodes (fixes #something)
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 )
{