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

Method HasErrors

src/fios.h:58–61  ·  view source on GitHub ↗

* Check whether loading the game resulted in errors. * @return true if errors were encountered. */

Source from the content-addressed store, hash-verified

56 * @return true if errors were encountered.
57 */
58 bool HasErrors()
59 {
60 return this->checkable && this->error != INVALID_STRING_ID;
61 }
62
63 /**
64 * Check whether the game uses any NewGrfs.

Callers 3

OnClickMethod · 0.80
OnInvalidateDataMethod · 0.80
openttd_mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected