summaryrefslogtreecommitdiff
path: root/src/newgrf.h
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2008-01-04 15:39:08 +0000
committerbelugas <belugas@openttd.org>2008-01-04 15:39:08 +0000
commit6b37ab36eaa10e70e222f468f11e1cdc2a52cb71 (patch)
treec0603e4b8fbe7875779a3b1c3470af6071d8de98 /src/newgrf.h
parent1cd2c3d517912c6b9ec04d526fc252dd4de24a7a (diff)
downloadopenttd-6b37ab36eaa10e70e222f468f11e1cdc2a52cb71.tar.xz
(svn r11757) -Fix(r11727): Don't use a function's default parameter when the value can be (more adequately, even better) computed from another source.
Thanks peter1138.
Diffstat (limited to 'src/newgrf.h')
-rw-r--r--src/newgrf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf.h b/src/newgrf.h
index 54b5c99c9..687d8aa3f 100644
--- a/src/newgrf.h
+++ b/src/newgrf.h
@@ -94,7 +94,7 @@ struct GRFLoadedFeatures {
/* Indicates which are the newgrf features currently loaded ingame */
extern GRFLoadedFeatures _loaded_newgrf_features;
-void LoadNewGRFFile(GRFConfig *config, uint file_index, GrfLoadingStage stage, bool ottd_grf = false);
+void LoadNewGRFFile(GRFConfig *config, uint file_index, GrfLoadingStage stage);
void LoadNewGRF(uint load_index, uint file_index);
void ReloadNewGRFData(); // in openttd.cpp