summaryrefslogtreecommitdiff
path: root/src/openttd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r--src/openttd.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp
index 692f09698..6bea34845 100644
--- a/src/openttd.cpp
+++ b/src/openttd.cpp
@@ -715,6 +715,7 @@ void HandleExitGameRequest()
static void ShowScreenshotResult(bool b)
{
if (b) {
+ extern char *_screenshot_name;
SetDParamStr(0, _screenshot_name);
ShowErrorMessage(INVALID_STRING_ID, STR_031B_SCREENSHOT_SUCCESSFULLY, 0, 0);
} else {
@@ -1155,6 +1156,7 @@ void GameLoop()
IncreaseSpriteLRU();
InteractiveRandom();
+ extern int _caret_timer;
_caret_timer += 3;
_palette_animation_counter += 8;
CursorTick();