Make Tux run automatically. As before, if he is carrying something Tux
[supertux.git] / src / object / skull_tile.cpp
index b82a099..26b86bd 100644 (file)
@@ -70,7 +70,7 @@ SkullTile::update(float elapsed_time)
   } else if(hit) {
     if(timer.check()) {
       falling = true;
-      physic.gravity_enabled = true;
+      physic.enable_gravity(true);
       timer.stop();
     } else if(!timer.started()) {
       timer.start(FALLTIME);