From: Wolfgang Becker Date: Sun, 20 Jan 2008 14:45:55 +0000 (+0000) Subject: Load tilemap when level is in old format. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=5fbe3eb52f47ba38bf405eeba59e0ed810942ae6;p=supertux.git Load tilemap when level is in old format. SVN-Revision: 5289 --- diff --git a/src/level.cpp b/src/level.cpp index b5ef146f5..e1d26c654 100644 --- a/src/level.cpp +++ b/src/level.cpp @@ -77,6 +77,8 @@ Level::load(const std::string& filepath) int version = 1; level->get("version", version); if(version == 1) { + log_info << "level uses old format: version 1" << std::endl; + tileset = tile_manager->get_tileset("images/tiles.strf"); load_old_format(*level); return; }