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

Method Reset

src/saveload/saveload.cpp:2383–2389  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2381 }
2382
2383 void Reset() override
2384 {
2385 clearerr(*this->file);
2386 if (fseek(*this->file, this->begin, SEEK_SET)) {
2387 Debug(sl, 1, "Could not reset the file reading");
2388 }
2389 }
2390};
2391
2392/** Yes, simply writing to a file. */

Callers 8

AfterLoadGameFunction · 0.45
DetermineSaveLoadFormatFunction · 0.45
DoLoadFunction · 0.45
SaveOrLoadFunction · 0.45
UpdateOldAircraftFunction · 0.45
FixupTrainLengthsFunction · 0.45
LoadMethod · 0.45
LoadMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected