From: Ryan Flegel Date: Tue, 25 May 2004 22:05:07 +0000 (+0000) Subject: - tweaked walkingtree X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=05802469d9bdacc1c4db6039026f7d09615576a2;p=supertux.git - tweaked walkingtree SVN-Revision: 1329 --- diff --git a/data/images/shared/walkingtree-left-1.png b/data/images/shared/walkingtree-left-1.png index 606ecc278..2f444a217 100644 Binary files a/data/images/shared/walkingtree-left-1.png and b/data/images/shared/walkingtree-left-1.png differ diff --git a/src/badguy.cpp b/src/badguy.cpp index b7879b56f..db8468343 100644 --- a/src/badguy.cpp +++ b/src/badguy.cpp @@ -1140,12 +1140,11 @@ BadGuy::squish(Player* player) if (mode == BGM_BIG) { set_sprite(img_walkingtree_left_small, img_walkingtree_left_small); - physic.set_velocity_x(physic.get_velocity_x() * 1.1); + physic.set_velocity_x(physic.get_velocity_x() * 2.0f); // XXX magic number: 66 is BGM_BIG height - base.y += 66 - base.height; - player->base.y = base.y - player->base.height - 2; make_player_jump(player); + base.y += 66 - base.height; World::current()->add_score(Vector(base.x, base.y), 25 * player_status.score_multiplier); @@ -1156,8 +1155,6 @@ BadGuy::squish(Player* player) else squish_me(player); } - - } void