X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fworldmap%2Flevel.hpp;h=67945e32f19429dec0b31f425c1e50db4372cbfd;hb=051da28245f26cb1a073c764de235460e87ec64f;hp=dabd4d740db281f6e6bc0c00667cf962a2d09332;hpb=8a627e73d824b5a14249cfe066dc2fdc643ce28d;p=supertux.git diff --git a/src/worldmap/level.hpp b/src/worldmap/level.hpp index dabd4d740..67945e32f 100644 --- a/src/worldmap/level.hpp +++ b/src/worldmap/level.hpp @@ -44,6 +44,7 @@ public: Vector pos; std::string title; bool solved; + bool auto_play; /**< true if Tux should automatically enter this level if it's unfinished */ std::auto_ptr sprite; @@ -53,9 +54,6 @@ public: /** Script that is run when the level is successfully finished */ std::string extro_script; - /** If false, disables the auto walking after finishing a level */ - bool auto_path; - /** return Surface of level picture or 0 if no picture is available */ const Surface* get_picture();