}
//Replace sprite
sprite = sprite_manager->create( sprite_name );
- bbox.set_size(sprite->get_current_hitbox_width(), sprite->get_current_hitbox_height());
}
/* MrBomb created by a despencer always gets default sprite atm.*/
{
physic.set_velocity_x(dir == LEFT ? -WALKSPEED : WALKSPEED);
sprite->set_action(dir == LEFT ? "left" : "right");
+ bbox.set_size(sprite->get_current_hitbox_width(), sprite->get_current_hitbox_height());
}
void