* The "time needed" statistic now works again. You might need to delete your savegame...
[supertux.git] / src / object / oneup.cpp
index 0d867f1..464a3eb 100644 (file)
 //  along with this program; if not, write to the Free Software
 //  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 //  02111-1307, USA.
-
 #include <config.h>
 
-#include "oneup.h"
-#include "resources.h"
-#include "player.h"
-#include "player_status.h"
-#include "sector.h"
-#include "sprite/sprite_manager.h"
-#include "video/drawing_context.h"
+#include "oneup.hpp"
+#include "resources.hpp"
+#include "player.hpp"
+#include "player_status.hpp"
+#include "sector.hpp"
+#include "sprite/sprite_manager.hpp"
+#include "video/drawing_context.hpp"
 
 OneUp::OneUp(const Vector& pos)
 {
@@ -34,6 +33,7 @@ OneUp::OneUp(const Vector& pos)
   bbox.set_size(32, 32);
   sprite = sprite_manager->create("1up");
   physic.set_velocity(100, 400);
+  set_group(COLGROUP_TOUCHABLE);
 }
 
 OneUp::~OneUp()