diff options
author | Patric Stout <truebrain@openttd.org> | 2020-12-13 16:56:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-13 16:56:33 +0100 |
commit | 5d0331ecdc406b964219a2f7abdb465679ec7f53 (patch) | |
tree | 46306274422f1c80f01821b55d8bcfc9d2a41dce /src | |
parent | da7c74ba7e8a89ca4e099522a8ab3564a2f1f3df (diff) | |
download | openttd-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.cpp | 3 |
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. |