Otherwise Tux won't be hurt when the bombfish falls onto him.
Resolves: #593
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6579
837edb03-e0f3-0310-88ca-
d4d4e8b29345
#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);