Removed speed limit when grabbing normal objects
authorgrumbel <grumbel@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Thu, 4 Mar 2010 10:13:26 +0000 (10:13 +0000)
committergrumbel <grumbel@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Thu, 4 Mar 2010 10:13:26 +0000 (10:13 +0000)
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6540 837edb03-e0f3-0310-88ca-d4d4e8b29345

src/object/player.cpp

index bbf2fb8..a9162b5 100644 (file)
@@ -468,7 +468,7 @@ Player::handle_horizontal_input()
   }
 
   // do not run if we're holding something
-  if ( grabbed_object ) {
+  if ( false /* grabbed_extra_heavy_object */) {
     ax = dirsign * WALK_ACCELERATION_X;
     // limit speed
     if(vx >= MAX_WALK_XM && dirsign > 0) {