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

Function LoadOldMapPart2

src/saveload/oldloader_sl.cpp:1553–1563  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1551}
1552
1553static bool LoadOldMapPart2(LoadgameState &ls, int)
1554{
1555 for (auto t : Map::Iterate()) {
1556 t.type() = ReadByte(ls);
1557 }
1558 for (auto t : Map::Iterate()) {
1559 t.m5() = ReadByte(ls);
1560 }
1561
1562 return true;
1563}
1564
1565static bool LoadTTDPatchExtraChunks(LoadgameState &ls, int)
1566{

Callers

nothing calls this directly

Calls 2

ReadByteFunction · 0.85
typeMethod · 0.45

Tested by

no test coverage detected