summaryrefslogtreecommitdiff
path: root/src/cgame/cg_servercmds.c
diff options
context:
space:
mode:
authorRoman Tetelman <kevlarman@gmail.com>2009-10-03 12:09:42 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:15:43 +0000
commit186b84bec1705d8288beb043dbb9f94e378eff74 (patch)
tree4e3a2f1bf19fad64642e1848f6f35d6bc843f51c /src/cgame/cg_servercmds.c
parentbc81ff265ad2699736994ece789ddd8b41fd7af6 (diff)
* make the enemy team lose a stage when you reach "stage 4"
* pleasedonthurtmenorfmademedoit
Diffstat (limited to 'src/cgame/cg_servercmds.c')
-rw-r--r--src/cgame/cg_servercmds.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/cgame/cg_servercmds.c b/src/cgame/cg_servercmds.c
index c358133f..c21d1a52 100644
--- a/src/cgame/cg_servercmds.c
+++ b/src/cgame/cg_servercmds.c
@@ -236,7 +236,11 @@ static void CG_AnnounceAlienStageTransistion( stage_t from, stage_t to )
return;
trap_S_StartLocalSound( cgs.media.alienStageTransition, CHAN_ANNOUNCER );
- CG_CenterPrint( "We have evolved!", 200, GIANTCHAR_WIDTH * 4 );
+ if( to > from )
+ CG_CenterPrint( "We have evolved!", 200, GIANTCHAR_WIDTH * 4 );
+ else
+ CG_CenterPrint( "We have devolved!", 200, GIANTCHAR_WIDTH * 4 );
+
}
/*
@@ -250,7 +254,12 @@ static void CG_AnnounceHumanStageTransistion( stage_t from, stage_t to )
return;
trap_S_StartLocalSound( cgs.media.humanStageTransition, CHAN_ANNOUNCER );
- CG_CenterPrint( "Reinforcements have arrived!", 200, GIANTCHAR_WIDTH * 4 );
+
+ if( to > from )
+ CG_CenterPrint( "Reinforcements have arrived!", 200, GIANTCHAR_WIDTH * 4 );
+ else
+ CG_CenterPrint( "Reinforcements have been withdrawn!", 200, GIANTCHAR_WIDTH * 4 );
+
}
/*