* In the usage help, put LEVELFILE into brackets since it's an optional argument.
[supertux.git] / src / object / bell.cpp
index e95a539..0c2036c 100644 (file)
 //  02111-1307, USA.
 #include <config.h>
 
-#include "bell.h"
-#include "resources.h"
-#include "sprite/sprite_manager.h"
-#include "video/drawing_context.h"
-#include "player.h"
-#include "object_factory.h"
-#include "game_session.h"
-#include "sector.h"
+#include "bell.hpp"
+#include "resources.hpp"
+#include "sprite/sprite_manager.hpp"
+#include "video/drawing_context.hpp"
+#include "player.hpp"
+#include "object_factory.hpp"
+#include "game_session.hpp"
+#include "sector.hpp"
 
 Bell::Bell(const lisp::Lisp& lisp)
   : ringing(false)
@@ -35,6 +35,7 @@ Bell::Bell(const lisp::Lisp& lisp)
   lisp.get("y", bbox.p1.y);
   bbox.set_size(32, 32);
   sprite = sprite_manager->create("bell");
+  set_group(COLGROUP_TOUCHABLE);
 }
 
 Bell::~Bell()