1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-18 01:42:38 +01:00

Codechange: Remove Game::GetGameInstance() (duplicate of Game::GetInstance()) (#13901)

This commit is contained in:
Loïc Guilloux
2025-03-26 23:41:41 +01:00
committed by GitHub
parent ff08a22aa4
commit 6bf405eb18
3 changed files with 3 additions and 8 deletions

View File

@@ -1311,7 +1311,7 @@ void ShowScriptDebugWindowIfScriptError()
}
}
GameInstance *g = Game::GetGameInstance();
GameInstance *g = Game::GetInstance();
if (g != nullptr && g->IsDead()) {
ShowScriptDebugWindow(OWNER_DEITY);
}