[Super-tux-commit] supertux/src title.cpp,1.56,1.57
Brought to you by:
wkendrick
From: Ricardo C. <rm...@us...> - 2004-04-22 11:31:02
|
Update of /cvsroot/super-tux/supertux/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25909/src Modified Files: title.cpp Log Message: Just made the intro's Tux to honour the keys chosen by the user. Index: title.cpp =================================================================== RCS file: /cvsroot/super-tux/supertux/src/title.cpp,v retrieving revision 1.56 retrieving revision 1.57 diff -u -d -r1.56 -r1.57 --- title.cpp 22 Apr 2004 11:17:34 -0000 1.56 +++ title.cpp 22 Apr 2004 11:30:53 -0000 1.57 @@ -189,14 +189,14 @@ } 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 { |