Tiny fix. Just to make fire or ice Tux to be able to do butt jump, as well.
authorRicardo Cruz <rick2@aeiou.pt>
Tue, 18 May 2004 17:20:27 +0000 (17:20 +0000)
committerRicardo Cruz <rick2@aeiou.pt>
Tue, 18 May 2004 17:20:27 +0000 (17:20 +0000)
SVN-Revision: 1255

src/player.cpp

index 9cbadd1..64cd317 100644 (file)
@@ -417,7 +417,7 @@ Player::handle_vertical_input()
       physic.set_velocity_y(0);
     }
 
-  if (input.down == DOWN && !on_ground() && !duck && size == BIG)
+  if (input.down == DOWN && !on_ground() && !duck && size != SMALL)
     butt_jump = true;
   else if (input.down == UP)
     butt_jump = false;