TODO is now in the wiki
[supertux.git] / src / badguy / stalactite.cpp
index 788683b..1a0b367 100644 (file)
@@ -82,6 +82,9 @@ Stalactite::kill_fall()
 void
 Stalactite::draw(DrawingContext& context)
 {
+  if(get_state() != STATE_ACTIVE)
+    return;
+    
   if(state == STALACTITE_SHAKING) {
     sprite->draw(context, get_pos() + Vector((rand() % 6)-3, 0), LAYER_OBJECTS);
   } else {