File diff r25701:43594ed167c5 → r25702:89c61c19a4db
src/saveload/saveload.cpp
Show inline comments
 
@@ -1897,10 +1897,10 @@ static void SlLoadCheckChunk(const Chunk
 
 */
 
static void SlSaveChunk(const ChunkHandler &ch)
 
{
 
	if (ch.type == CH_READONLY) return;
 

	
 
	ChunkSaveLoadProc *proc = ch.save_proc;
 

	
 
	/* Don't save any chunk information if there is no save handler. */
 
	if (proc == nullptr) return;
 
	assert(proc != nullptr);
 

	
 
	SlWriteUint32(ch.id);
 
	Debug(sl, 2, "Saving chunk {:c}{:c}{:c}{:c}", ch.id >> 24, ch.id >> 16, ch.id >> 8, ch.id);