From 22df4b3cebd8e5156826263ba86f76a4a5a77c50 Mon Sep 17 00:00:00 2001 From: danij Date: Wed, 12 Mar 2014 10:33:24 +0000 Subject: [PATCH] Fixed|SavedSession|libdeng2: Serialized map states are in the /maps folder of the .save package --- doomsday/libdeng2/src/game/savedsession.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doomsday/libdeng2/src/game/savedsession.cpp b/doomsday/libdeng2/src/game/savedsession.cpp index 46990ffcbc..39388804e8 100644 --- a/doomsday/libdeng2/src/game/savedsession.cpp +++ b/doomsday/libdeng2/src/game/savedsession.cpp @@ -376,8 +376,7 @@ bool SavedSession::hasMapState(String mapUriStr) const if(!mapUriStr.isEmpty() && hasFile()) { PackageFolder const &pack = d->repo->folder().locate(d->fileName); - String mapStateFileName = d->fileName.fileNameWithoutExtension() + mapUriStr; - return pack.has(mapStateFileName); + return pack.has(Path("maps") / mapUriStr); } return false; }