add debug note after rebuilding 6x6D data

This commit is contained in:
Martin Michelsen
2023-06-20 09:25:14 -07:00
parent 63538088d2
commit cbe6480da6
+4
View File
@@ -232,6 +232,10 @@ static void on_sync_joining_player_item_state(shared_ptr<ServerState>,
out_cmd.decompressed_size = decompressed.size(); out_cmd.decompressed_size = decompressed.size();
out_cmd.compressed_size = out_compressed_data.size(); out_cmd.compressed_size = out_compressed_data.size();
if (c->options.debug) {
c->log.info("Byteswapped and recompressed item sync data (%zX bytes)", out_compressed_data.size());
}
// TODO: It'd be nice to not copy the data so many times here. // TODO: It'd be nice to not copy the data so many times here.
StringWriter out_w; StringWriter out_w;
out_w.put<G_SyncGameStateHeader_6x6B_6x6C_6x6D_6x6E>(out_cmd); out_w.put<G_SyncGameStateHeader_6x6B_6x6C_6x6D_6x6E>(out_cmd);