From c3e4154733077de1cd2a5467ae54635ed5ebb602 Mon Sep 17 00:00:00 2001 From: Ben Millwood Date: Sat, 3 Oct 2009 13:00:31 +0000 Subject: * Don't fire incomplete hives --- src/game/g_buildable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/g_buildable.c') 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 ); -- cgit