X-Git-Url: https://git.octo.it/?a=blobdiff_plain;ds=sidebyside;f=src%2Fsupertux%2Fworld.cpp;h=f9a2e0aea682670844f5af6d1196a10605fc4871;hb=73cb1e168850018eaa821a42b30bb221dc5186fe;hp=02c5b15a1df1f17e4becf3350fef01e35cc9debc;hpb=8bd7a82e3f24faa2a708acf1c10500098c6491db;p=supertux.git diff --git a/src/supertux/world.cpp b/src/supertux/world.cpp index 02c5b15a1..f9a2e0aea 100644 --- a/src/supertux/world.cpp +++ b/src/supertux/world.cpp @@ -27,7 +27,7 @@ #include "supertux/screen_fade.hpp" #include "supertux/screen_manager.hpp" #include "supertux/world.hpp" -#include "supertux/world_state.hpp" +#include "supertux/savegame.hpp" #include "util/file_system.hpp" #include "util/reader.hpp" #include "util/string_util.hpp" @@ -44,7 +44,6 @@ World::load(const std::string& directory) std::string worlddirname = FileSystem::basename(directory); std::ostringstream stream; stream << "profile" << g_config->profile << "/" << worlddirname << ".stsg"; - std::string slotfile = stream.str(); world->m_savegame_filename = stream.str(); } @@ -60,12 +59,10 @@ World::World() : m_hide_from_contribs(false), m_is_levelset(true) { - std::cout << this << " World()" << std::endl; } World::~World() { - std::cout << this << " ~World()" << std::endl; } void