1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00
This commit is contained in:
Michał W. Urbańczyk 2012-09-28 09:11:18 +00:00
parent 076974729a
commit 6c017a0fdf

View File

@ -276,7 +276,10 @@ void CClient::loadGame( const std::string & fname )
}
*serv << ui8(255); // neutrals
tlog0 <<"Sent info to server: "<<tmh.getDiff()<<std::endl;
serv->enableStackSendingByID();
serv->disableSmartPointerSerialization();
{
CLoadFile lf(CResourceHandler::get()->getResourceName(ResourceID(fname, EResType::CLIENT_SAVEGAME)));
lf >> *this;