Michał W. Urbańczyk 13 年之前
父节点
当前提交
6c017a0fdf
共有 1 个文件被更改,包括 4 次插入1 次删除
  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;