summaryrefslogtreecommitdiff
path: root/src/cgame/cg_tutorial.c
diff options
context:
space:
mode:
authorBen Millwood <thebenmachine@gmail.com>2009-10-03 11:18:52 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:14:52 +0000
commit16289f1b853e5da3f944045e191d465857110fad (patch)
tree22c3d02807f4f276b3eb14f846b14444bf523332 /src/cgame/cg_tutorial.c
parent9dd501f6338a95183ad4a245c2b813699b3a6513 (diff)
Add tutorial text support for sprint/dodge
Diffstat (limited to 'src/cgame/cg_tutorial.c')
-rw-r--r--src/cgame/cg_tutorial.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/cgame/cg_tutorial.c b/src/cgame/cg_tutorial.c
index 7d08a6d2..b2abd7a5 100644
--- a/src/cgame/cg_tutorial.c
+++ b/src/cgame/cg_tutorial.c
@@ -35,8 +35,7 @@ static bind_t bindings[ ] =
{
{ "+button2", "Activate Upgrade", { -1, -1 } },
{ "+speed", "Run/Walk", { -1, -1 } },
- { "boost", "Sprint", { -1, -1 } },
- { "+button6", "Dodge", { -1, -1 } },
+ { "+button6", "Sprint/Dodge", { -1, -1 } },
{ "+moveup", "Jump", { -1, -1 } },
{ "+movedown", "Crouch", { -1, -1 } },
{ "+attack", "Primary Attack", { -1, -1 } },
@@ -542,8 +541,12 @@ static void CG_HumanText( char *text, playerState_t *ps )
CG_KeyNameForCommand( "+button7" ) ) );
Q_strcat( text, MAX_TUTORIAL_TEXT,
- va( "Press %s to sprint\n",
- CG_KeyNameForCommand( "boost" ) ) );
+ va( "Press %s and forward to sprint\n",
+ CG_KeyNameForCommand( "+button6" ) ) );
+
+ Q_strcat( text, MAX_TUTORIAL_TEXT,
+ va( "Press %s and another direction to dodge\n",
+ CG_KeyNameForCommand( "+button6" ) ) );
}
/*