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

Function ShowFirstError

src/error_gui.cpp:264–271  ·  view source on GitHub ↗

Show the first error of the queue. */

Source from the content-addressed store, hash-verified

262
263/** Show the first error of the queue. */
264void ShowFirstError()
265{
266 _window_system_initialized = true;
267 if (!_error_list.empty()) {
268 new ErrmsgWindow(_error_list.front());
269 _error_list.pop_front();
270 }
271}
272
273/**
274 * Unshow the critical error. This has to happen when a critical

Callers 4

LoadFromConfigFunction · 0.85
CloseMethod · 0.85
InitWindowSystemFunction · 0.85
CleanupGenerationFunction · 0.85

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected