From aadeec2cf6fc7a7f20d1ca43ac87e972b8e1840e Mon Sep 17 00:00:00 2001 From: Ricardo Cruz Date: Thu, 22 Apr 2004 11:30:53 +0000 Subject: [PATCH] Just made the intro's Tux to honour the keys chosen by the user. SVN-Revision: 628 --- src/title.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/title.cpp b/src/title.cpp index 83151af3e..ac89c3503 100644 --- a/src/title.cpp +++ b/src/title.cpp @@ -189,14 +189,14 @@ void draw_demo(GameSession* session, double frame_ratio) } global_frame_counter++; - tux->key_event(SDLK_RIGHT,DOWN); + tux->key_event((SDLKey) keymap.right,DOWN); if(random_timer.check()) { if(walking) - tux->key_event(SDLK_UP,UP); + tux->key_event((SDLKey) keymap.jump,UP); else - tux->key_event(SDLK_UP,DOWN); + tux->key_event((SDLKey) keymap.jump,DOWN); } else { -- 2.11.0