Changed Yeti behaviour. You must stun him (jump on him) when is under a falling stala...
[supertux.git] / src / badguy / mrbomb.cpp
index 5b63955..88db3d2 100644 (file)
@@ -78,4 +78,13 @@ MrBomb::collision_badguy(BadGuy& , const CollisionHit& hit)
   return CONTINUE;
 }
 
+void
+MrBomb::kill_fall()
+{
+  remove_me();
+  Bomb* bomb = new Bomb(get_pos(), dir);
+  Sector::current()->add_object(bomb);
+  bomb->explode();
+}
+
 IMPLEMENT_FACTORY(MrBomb, "mrbomb")