summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBen Millwood <thebenmachine@gmail.com>2009-10-03 13:00:31 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:16:24 +0000
commitc3e4154733077de1cd2a5467ae54635ed5ebb602 (patch)
treedae51917cb2892364e8aa8ccf3c76715cbd6accf /src
parent5a0f71c3fb583d0e065df9a1fe1831eab0d0d4e7 (diff)
* Don't fire incomplete hives
Diffstat (limited to 'src')
-rw-r--r--src/game/g_buildable.c2
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 );