1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

Fixed #1686. Compatibility measures to be removed later, when format changes become to big.

This commit is contained in:
Michał W. Urbańczyk
2014-02-02 14:31:56 +00:00
parent 77946e88f1
commit 55165a8535
5 changed files with 47 additions and 4 deletions

View File

@@ -477,7 +477,7 @@ void CVCMIServer::loadGame()
// }
{
CLoadFile lf(*CResourceHandler::get()->getResourceName(ResourceID(fname, EResType::SERVER_SAVEGAME)));
CLoadFile lf(*CResourceHandler::get()->getResourceName(ResourceID(fname, EResType::SERVER_SAVEGAME)), minSupportedVersion);
gh.loadCommonState(lf);
lf >> gh;
}