From 16289f1b853e5da3f944045e191d465857110fad Mon Sep 17 00:00:00 2001 From: Ben Millwood Date: Sat, 3 Oct 2009 11:18:52 +0000 Subject: Add tutorial text support for sprint/dodge --- src/cgame/cg_tutorial.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src') 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" ) ) ); } /* -- cgit