diff options
author | Ben Millwood <thebenmachine@gmail.com> | 2009-10-03 13:14:22 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:16:36 +0000 |
commit | 495cefd67482bf3383c2cc62ac1dc5de443b30ec (patch) | |
tree | b18748b01be0564b8c2efd9a72186fc233b59874 /src/game/g_buildable.c | |
parent | 0fa8ef6031aa48365bbb3d77d958395439639741 (diff) |
display unpowered icon for telenodes (fixes #something)
Diffstat (limited to 'src/game/g_buildable.c')
-rw-r--r-- | src/game/g_buildable.c | 5 |
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 ) { |