diff options
author | rubidium42 <rubidium42@users.noreply.github.com> | 2021-04-12 20:53:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-12 20:53:04 +0200 |
commit | c4bccd4f70cc369d5b3867f8dac74b0ac1d9ea5c (patch) | |
tree | 0f799c0cc08012d4d1e1fcfc3469a11e77fc87ab /src/openttd.h | |
parent | e722ea89f0ebda60fd251ee2ba33635df367acd4 (diff) | |
download | openttd-c4bccd4f70cc369d5b3867f8dac74b0ac1d9ea5c.tar.xz |
Fix #8874: show a warning when a NewGRF scan is requested multiple times from the console (#9022)
Diffstat (limited to 'src/openttd.h')
-rw-r--r-- | src/openttd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openttd.h b/src/openttd.h index 38c7f8064..77fafab1d 100644 --- a/src/openttd.h +++ b/src/openttd.h @@ -81,6 +81,6 @@ void HandleExitGameRequest(); void SwitchToMode(SwitchMode new_mode); -void RequestNewGRFScan(struct NewGRFScanCallback *callback = nullptr); +bool RequestNewGRFScan(struct NewGRFScanCallback *callback = nullptr); #endif /* OPENTTD_H */ |