git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6450
837edb03-e0f3-0310-88ca-
d4d4e8b29345
}
if (is_exploding && !turn_around_timer.started()) {
- Player *p = Sector::current()->get_nearest_player (this->get_pos ());
+ Player *p = Sector::current()->get_nearest_player (this->get_bbox ());
if (p) {
Direction player_dir = LEFT;
bool
IceCrusher::found_victim()
{
- Player* player = Sector::current()->get_nearest_player (this->get_pos ());
+ Player* player = Sector::current()->get_nearest_player (this->get_bbox ());
if (!player) return false;
const Rectf& player_bbox = player->get_bbox();