Removed trailing whitespace from all *.?pp files
[supertux.git] / src / badguy / bomb.cpp
index 75dcf42..b0d43c0 100644 (file)
@@ -22,9 +22,9 @@
 #include "supertux/sector.hpp"
 
 Bomb::Bomb(const Vector& pos, Direction dir, std::string custom_sprite /*= "images/creatures/mr_bomb/mr_bomb.sprite"*/ ) :
-  BadGuy( pos, dir, custom_sprite ), 
+  BadGuy( pos, dir, custom_sprite ),
   state(),
-  grabbed(false), 
+  grabbed(false),
   grabber(NULL),
   ticking()
 {
@@ -83,7 +83,7 @@ Bomb::explode()
   // Bomb class.
   if (grabber != NULL) {
     Player* player = dynamic_cast<Player*>(grabber);
-    
+
     if (player)
       player->stop_grabbing();
   }
@@ -123,6 +123,7 @@ Bomb::ungrab(MovingObject& object, Direction dir)
   this->dir = dir;
   // portable objects are usually pushed away from Tux when dropped, but we
   // don't want that, so we set the position
+  //FIXME: why don't we want that? shouldn't behavior be consistent?
   set_pos(object.get_pos() + Vector(dir == LEFT ? -16 : 16, get_bbox().get_height()*0.66666 - 32));
   set_colgroup_active(COLGROUP_MOVING);
   grabbed = false;