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

Function ClearErrorMessages

src/error_gui.cpp:257–261  ·  view source on GitHub ↗

* Clear all errors from the queue. */

Source from the content-addressed store, hash-verified

255 * Clear all errors from the queue.
256 */
257void ClearErrorMessages()
258{
259 UnshowCriticalError();
260 _error_list.clear();
261}
262
263/** Show the first error of the queue. */
264void ShowFirstError()

Callers 4

OnClickMethod · 0.85
StartGeneratingLandscapeFunction · 0.85

Calls 2

UnshowCriticalErrorFunction · 0.85
clearMethod · 0.45

Tested by

no test coverage detected