From: Ricardo Cruz Date: Tue, 18 May 2004 17:20:27 +0000 (+0000) Subject: Tiny fix. Just to make fire or ice Tux to be able to do butt jump, as well. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=d94e3af6334417e6c693bd8c23aa15eb2e919b0f;p=supertux.git Tiny fix. Just to make fire or ice Tux to be able to do butt jump, as well. SVN-Revision: 1255 --- diff --git a/src/player.cpp b/src/player.cpp index 9cbadd103..64cd31783 100644 --- a/src/player.cpp +++ b/src/player.cpp @@ -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;