1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +02:00

Get rid of some old serialization workaround code that is not needed because serializer was improved in the meantime.

Fixing #1254.
Fixed possible race causing corruption of the server savegame.
This commit is contained in:
Michał W. Urbańczyk
2013-04-20 18:44:55 +00:00
parent 87988b0ae7
commit d1d67caa0b
6 changed files with 24 additions and 91 deletions

View File

@ -2186,7 +2186,7 @@ void CGameHandler::save(const std::string & filename )
{
logGlobal->errorStream() << "Saving to " << filename;
CFileInfo info(filename);
CResourceHandler::get()->createResource(info.getStem() + ".vlgm1");
//CResourceHandler::get()->createResource(info.getStem() + ".vlgm1");
CResourceHandler::get()->createResource(info.getStem() + ".vsgm1");
{