Michał W. Urbańczyk %!s(int64=13) %!d(string=hai) anos
pai
achega
6c017a0fdf
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      client/Client.cpp

+ 4 - 1
client/Client.cpp

@@ -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;