X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fworldmap.cpp;h=974c75c8ccd8eceed292495fe808a233cd71cbcb;hb=6e843b1780f62f45b7021bd8c38181aa211588ee;hp=4bbc4b29d7656411ef0fb987887bedaafcac6021;hpb=00fb759c2385ff08caf38e916c2d0ba8cafc8a41;p=supertux.git diff --git a/src/worldmap.cpp b/src/worldmap.cpp index 4bbc4b29d..974c75c8c 100644 --- a/src/worldmap.cpp +++ b/src/worldmap.cpp @@ -863,7 +863,8 @@ WorldMap::update(float delta) // do a shriking fade to the level shrink_fade(Vector((level->pos.x*32 + 16 + offset.x),(level->pos.y*32 + 16 + offset.y)), 500); - GameSession session(level->name, + GameSession session( + get_resource_filename(std::string("levels/" + level->name)), ST_GL_LOAD_LEVEL_FILE, level->vertical_flip, &level->statistics);