MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / PrepareOldDiffCustom

Function PrepareOldDiffCustom

src/saveload/settings_sl.cpp:26–29  ·  view source on GitHub ↗

* Prepare for reading and old diff_custom by zero-ing the memory. */

Source from the content-addressed store, hash-verified

24 * Prepare for reading and old diff_custom by zero-ing the memory.
25 */
26void PrepareOldDiffCustom()
27{
28 _old_diff_custom.fill(0);
29}
30
31/**
32 * Reading of the old diff_custom array and transforming it to the new format.

Callers 2

LoadFromConfigFunction · 0.85
LoadMethod · 0.85

Calls 1

fillMethod · 0.80

Tested by

no test coverage detected