diff options
author | Ben Millwood <thebenmachine@gmail.com> | 2009-10-03 13:00:31 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:16:24 +0000 |
commit | c3e4154733077de1cd2a5467ae54635ed5ebb602 (patch) | |
tree | dae51917cb2892364e8aa8ccf3c76715cbd6accf /src/game/g_buildable.c | |
parent | 5a0f71c3fb583d0e065df9a1fe1831eab0d0d4e7 (diff) |
* Don't fire incomplete hives
Diffstat (limited to 'src/game/g_buildable.c')
-rw-r--r-- | src/game/g_buildable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c index 99f27960..7909c7de 100644 --- a/src/game/g_buildable.c +++ b/src/game/g_buildable.c @@ -1342,7 +1342,7 @@ pain function for Alien Hive */ void AHive_Pain( gentity_t *self, gentity_t *attacker, int damage ) { - if( self->powered && !self->active ) + if( self->spawned && self->powered && !self->active ) AHive_CheckTarget( self, attacker ); G_SetBuildableAnim( self, BANIM_PAIN1, qfalse ); |