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

Function AskExitToGameMenuCallback

src/intro_gui.cpp:423–429  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

421
422
423static void AskExitToGameMenuCallback(Window *, bool confirmed)
424{
425 if (confirmed) {
426 _switch_mode = SM_MENU;
427 ClearErrorMessages();
428 }
429}
430
431void AskExitToGameMenu()
432{

Callers

nothing calls this directly

Calls 1

ClearErrorMessagesFunction · 0.85

Tested by

no test coverage detected