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

Function LoadOldEngine

src/saveload/oldloader_sl.cpp:1465–1469  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1463};
1464
1465static bool LoadOldEngine(LoadgameState &ls, int num)
1466{
1467 Engine *e = _savegame_type == SGT_TTO ? &_old_engines[num] : GetTempDataEngine(static_cast<EngineID>(num));
1468 return LoadChunk(ls, e, engine_chunk);
1469}
1470
1471static bool LoadOldEngineName(LoadgameState &ls, int num)
1472{

Callers

nothing calls this directly

Calls 2

GetTempDataEngineFunction · 0.85
LoadChunkFunction · 0.85

Tested by

no test coverage detected