Otherwise Tux won't be hurt when the bombfish falls onto him.
Resolves: #593
SVN-Revision: 6579
#include "supertux/constants.hpp"
#include "supertux/sector.hpp"
+#include "object/anchor_point.hpp"
#include "object/player.hpp"
#include "object/explosion.hpp"
if (!is_valid ())
return;
- Explosion *explosion = new Explosion (get_bbox ().get_middle ());
+ Explosion *explosion = new Explosion (get_anchor_pos (bbox, ANCHOR_BOTTOM));
explosion->hurts (true);
explosion->pushes (false);