Skip to content

Commit

Permalink
Fixed|SavedSession|libdeng2: Serialized map states are in the /maps f…
Browse files Browse the repository at this point in the history
…older of the .save package
  • Loading branch information
danij-deng committed Mar 12, 2014
1 parent d86da01 commit 22df4b3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions doomsday/libdeng2/src/game/savedsession.cpp
Expand Up @@ -376,8 +376,7 @@ bool SavedSession::hasMapState(String mapUriStr) const
if(!mapUriStr.isEmpty() && hasFile())
{
PackageFolder const &pack = d->repo->folder().locate<PackageFolder const>(d->fileName);
String mapStateFileName = d->fileName.fileNameWithoutExtension() + mapUriStr;
return pack.has(mapStateFileName);
return pack.has(Path("maps") / mapUriStr);
}
return false;
}
Expand Down

0 comments on commit 22df4b3

Please sign in to comment.