1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-17 00:07:41 +02:00

compilation fixes...

This commit is contained in:
Zyx-2000
2016-01-16 19:00:53 +01:00
parent cf61837ced
commit 43b364bcd4
3 changed files with 67 additions and 66 deletions

View File

@ -277,7 +277,7 @@ void CClient::loadGame(const std::string & fname, const bool server, const std::
else// create entry for server savegame. Triggered if save was made after launch and not yet present in res handler
{
controlServerSaveName = boost::filesystem::path(clientSaveName).replace_extension(".vsgm1");
CResourceHandler::get("local")->createResource(controlServerSaveName, true);
CResourceHandler::get("local")->createResource(controlServerSaveName.string(), true);
}
if(clientSaveName.empty())