From c50fb77d45db8c52944806755d2676752041e8e3 Mon Sep 17 00:00:00 2001
From: Asa Kravets <norfenstein@gmail.com>
Date: Fri, 30 Jul 2010 01:53:02 +0000
Subject: Centerprint message for Overmind awakening (thanks Lakitu7)

---
 src/game/g_buildable.c | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'src/game')

diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c
index 35aef2db..197a2f30 100644
--- a/src/game/g_buildable.c
+++ b/src/game/g_buildable.c
@@ -3645,7 +3645,13 @@ static gentity_t *G_Build( gentity_t *builder, buildable_t buildable, vec3_t ori
   G_SetIdleBuildableAnim( built, BG_Buildable( buildable )->idleAnim );
 
   if( built->builtBy >= 0 )
+	{
     G_SetBuildableAnim( built, BANIM_CONSTRUCT1, qtrue );
+		if( buildable == BA_A_OVERMIND )
+		{
+			G_TeamCommand( TEAM_ALIENS, "cp \"The Overmind has awakened!\"" );
+		}
+	}
 
   trap_LinkEntity( built );
 
-- 
cgit