From d94e3af6334417e6c693bd8c23aa15eb2e919b0f Mon Sep 17 00:00:00 2001 From: Ricardo Cruz Date: Tue, 18 May 2004 17:20:27 +0000 Subject: [PATCH] Tiny fix. Just to make fire or ice Tux to be able to do butt jump, as well. SVN-Revision: 1255 --- src/player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.11.0