Skip to content

Commit

Permalink
Fix 8bef06a2: don't use "extern" when you want to implement a global (O…
Browse files Browse the repository at this point in the history
  • Loading branch information
TrueBrain authored Dec 13, 2020
1 parent da7c74b commit 5d0331e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/openttd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 5d0331e

Please sign in to comment.