From 8b06f24a20e28ece1970664f5cc1a93b58916f5a Mon Sep 17 00:00:00 2001 From: mathnerd314 Date: Thu, 4 Mar 2010 02:37:48 +0000 Subject: [PATCH] Remove walk key git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6536 837edb03-e0f3-0310-88ca-d4d4e8b29345 --- src/object/player.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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) { -- 2.11.0