diff options
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r-- | src/openttd.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp index 2f632b4be..46999783c 100644 --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -768,17 +768,6 @@ void HandleExitGameRequest() } } -static void ShowScreenshotResult(bool b) -{ - if (b) { - SetDParamStr(0, _screenshot_name); - ShowErrorMessage(STR_MESSAGE_SCREENSHOT_SUCCESSFULLY, INVALID_STRING_ID, 0, 0); - } else { - ShowErrorMessage(STR_ERROR_SCREENSHOT_FAILED, INVALID_STRING_ID, 0, 0); - } - -} - static void MakeNewGameDone() { SettingsDisableElrail(_settings_game.vehicle.disable_elrails); @@ -1239,9 +1228,6 @@ void GameLoop() RedrawAutosave(); } - /* make a screenshot? */ - if (IsScreenshotRequested()) ShowScreenshotResult(MakeScreenshot()); - /* switch game mode? */ if (_switch_mode != SM_NONE) { SwitchToMode(_switch_mode); |