summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAsa Kravets <norfenstein@gmail.com>2010-07-30 01:53:02 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:17:40 +0000
commitc50fb77d45db8c52944806755d2676752041e8e3 (patch)
treefc61f1b9b34c56636aad3d757a3fc5f814ad14c6
parent9b7521e08f23bbc9778d29c92e13efd30478abf2 (diff)
Centerprint message for Overmind awakening (thanks Lakitu7)
-rw-r--r--src/game/g_buildable.c6
1 files changed, 6 insertions, 0 deletions
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 );