summaryrefslogtreecommitdiff
path: root/src/cgame/cg_tutorial.c
diff options
context:
space:
mode:
authorRoman Tetelman <kevlarman@gmail.com>2009-10-03 12:13:33 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:15:46 +0000
commit73ba37882f4d4696071e68c034e5a6988178bc85 (patch)
tree7aa667cc079f41527ed5ff3cdac9459dc36bb03e /src/cgame/cg_tutorial.c
parent461ec09e9a680df9e627a772c68142336b0f7a4f (diff)
* from __future__ import thirdpersonspec (Lakitu7)
Diffstat (limited to 'src/cgame/cg_tutorial.c')
-rw-r--r--src/cgame/cg_tutorial.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/cgame/cg_tutorial.c b/src/cgame/cg_tutorial.c
index 4f4608a0..77d0d8fb 100644
--- a/src/cgame/cg_tutorial.c
+++ b/src/cgame/cg_tutorial.c
@@ -574,9 +574,14 @@ static void CG_SpectatorText( char *text, playerState_t *ps )
if( ps->pm_flags & PMF_FOLLOW )
{
- Q_strcat( text, MAX_TUTORIAL_TEXT,
- va( "Press %s to stop following\n",
- CG_KeyNameForCommand( "+button2" ) ) );
+ if( !cg.thirdPersonFollow )
+ Q_strcat( text, MAX_TUTORIAL_TEXT,
+ va( "Press %s to switch to third-person spectator mode\n",
+ CG_KeyNameForCommand( "+button2" ) ) );
+ else
+ Q_strcat( text, MAX_TUTORIAL_TEXT,
+ va( "Press %s to return to free spectator mode\n",
+ CG_KeyNameForCommand( "+button2" ) ) );
Q_strcat( text, MAX_TUTORIAL_TEXT,
va( "Press %s or ",