Make Badguy activation dependent of Player position, not currently-visible screen
[supertux.git] / src / badguy / stalactite.cpp
index 8bde2fb..8dc7f84 100644 (file)
@@ -72,7 +72,7 @@ void
 Stalactite::squish()
 {
   state = STALACTITE_SQUISHED;
-  set_group(COLGROUP_MOVING_ONLY_STATIC);
+  set_colgroup_active(COLGROUP_MOVING_ONLY_STATIC);
   sprite->set_action("squished");
   if(!timer.started())
     timer.start(SQUISH_TIME);