- tweaked walkingtree
authorRyan Flegel <rflegel@gmail.com>
Tue, 25 May 2004 22:05:07 +0000 (22:05 +0000)
committerRyan Flegel <rflegel@gmail.com>
Tue, 25 May 2004 22:05:07 +0000 (22:05 +0000)
SVN-Revision: 1329

data/images/shared/walkingtree-left-1.png
src/badguy.cpp

index 606ecc2..2f444a2 100644 (file)
Binary files a/data/images/shared/walkingtree-left-1.png and b/data/images/shared/walkingtree-left-1.png differ
index b7879b5..db84683 100644 (file)
@@ -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