summaryrefslogtreecommitdiff
path: root/src/cgame/cg_tutorial.c
diff options
context:
space:
mode:
authorChristopher Schwarz <lakitu7@gmail.com>2011-08-08 01:30:16 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:18:13 +0000
commit8693e2c0a0ca3c5e9474fdf306ed53fac572960f (patch)
tree72c5402f294184509cf84d9223340c2d89949049 /src/cgame/cg_tutorial.c
parentcfa3aaac676d5f6e9657f810ab919b7485616a7b (diff)
* Add ready-related text to cg_tutorial during intermission
Diffstat (limited to 'src/cgame/cg_tutorial.c')
-rw-r--r--src/cgame/cg_tutorial.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/cgame/cg_tutorial.c b/src/cgame/cg_tutorial.c
index 8c3da0ca..6839c3a1 100644
--- a/src/cgame/cg_tutorial.c
+++ b/src/cgame/cg_tutorial.c
@@ -707,7 +707,23 @@ const char *CG_TutorialText( void )
}
}
}
+ }
+ else if( !cg.demoPlayback )
+ {
+ if( !CG_ClientIsReady( ps->clientNum ) )
+ {
+ Q_strcat( text, MAX_TUTORIAL_TEXT,
+ va( "Press %s when ready to continue\n",
+ CG_KeyNameForCommand( "+attack" ) ) );
+ }
+ else
+ {
+ Q_strcat( text, MAX_TUTORIAL_TEXT, "Waiting for other players to be ready\n" );
+ }
+ }
+ if( !cg.demoPlayback )
+ {
Q_strcat( text, MAX_TUTORIAL_TEXT, "Press ESC for the menu" );
}