summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2020-12-13 16:56:33 +0100
committerGitHub <noreply@github.com>2020-12-13 16:56:33 +0100
commit5d0331ecdc406b964219a2f7abdb465679ec7f53 (patch)
tree46306274422f1c80f01821b55d8bcfc9d2a41dce /src
parentda7c74ba7e8a89ca4e099522a8ab3564a2f1f3df (diff)
downloadopenttd-5d0331ecdc406b964219a2f7abdb465679ec7f53.tar.xz
Fix 8bef06a2: don't use "extern" when you want to implement a global (#8373)
Diffstat (limited to 'src')
-rw-r--r--src/openttd.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp
index 6db4ce8d7..4aeed3928 100644
--- a/src/openttd.cpp
+++ b/src/openttd.cpp
@@ -84,7 +84,8 @@ bool HandleBootstrap();
extern Company *DoStartupNewCompany(bool is_ai, CompanyID company = INVALID_COMPANY);
extern void ShowOSErrorBox(const char *buf, bool system);
extern char *_config_file;
-extern bool _save_config = false;
+
+bool _save_config = false;
/**
* Error handling for fatal user errors.