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 committed 2013-04-20 18:44:55 +00:00
1 parent 87988b0ae7
commit d1d67caa0b
6 files changed
+24 -91

No files matched your search

-3
View File
@@ -783,9 +783,6 @@ void SaveGame::applyCl(CClient *cl)
CFileInfo info(fname);
CResourceHandler::get()->createResource(info.getStem() + ".vcgm1");
//FIXME: Workaround for a file that was created by server and in future should be used only by server
CResourceHandler::get()->createResource(info.getStem() + ".vsgm1");
try
{
CSaveFile save(CResourceHandler::get()->getResourceName(ResourceID(info.getStem(), EResType::CLIENT_SAVEGAME)));