From: Mathnerd314 Date: Thu, 4 Mar 2010 02:37:48 +0000 (+0000) Subject: Remove walk key X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=e51ba8f919fb784545134b02a7e96b6cb92acf91;p=supertux.git Remove walk key SVN-Revision: 6536 --- diff --git a/src/object/player.cpp b/src/object/player.cpp index 2ffa8ec30..bbf2fb812 100644 --- a/src/object/player.cpp +++ b/src/object/player.cpp @@ -467,9 +467,8 @@ Player::handle_horizontal_input() } } - // do not run if action key is pressed or we're holding something - // so tux can only walk while shooting - if ( controller->hold(Controller::ACTION) || grabbed_object ) { + // do not run if we're holding something + if ( grabbed_object ) { ax = dirsign * WALK_ACCELERATION_X; // limit speed if(vx >= MAX_WALK_XM && dirsign > 0) {