Fix saveScenarioRtData for large scenarios

ryzomclassic-develop
kaetemi 5 years ago
parent a6713b14a6
commit 1452a6ba6d

@ -7808,7 +7808,8 @@ NLMISC_COMMAND(saveScenarioRtData, "save scenario RtData to file", "<filename>")
output.open(fullFileName);
pRtData->serialize(ss);
//std::string str = ss.str();
output.serial(ss);
// output.serial(ss);
output.serialBuffer((uint8_t *)ss.c_str(), ss.length());
output.flush();
output.close();
}

Loading…
Cancel
Save