Cause MrBomb to be instantly killed by invincibility or bullets
authorRyan Flegel <rflegel@gmail.com>
Wed, 26 Apr 2006 05:59:31 +0000 (05:59 +0000)
committerRyan Flegel <rflegel@gmail.com>
Wed, 26 Apr 2006 05:59:31 +0000 (05:59 +0000)
SVN-Revision: 3436

src/badguy/mrbomb.cpp
src/badguy/mrbomb.hpp

index 6772236..ef95a45 100644 (file)
@@ -110,13 +110,4 @@ 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")
index 92af127..018e1e0 100644 (file)
@@ -33,7 +33,6 @@ public:
   void write(lisp::Writer& writer);
   HitResponse collision_solid(GameObject& other, const CollisionHit& hit);
   HitResponse collision_badguy(BadGuy& badguy, const CollisionHit& hit);
-  void kill_fall();
 
 protected:
   bool collision_squished(Player& player);