summaryrefslogtreecommitdiff
path: root/newgrf_config.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-12-14 15:14:29 +0000
committerpeter1138 <peter1138@openttd.org>2006-12-14 15:14:29 +0000
commit5772da18b2b6b43fcfa3e970a8c68fd8653509d0 (patch)
tree6752480ea013d248ce45a8571ddba265f3df08fd /newgrf_config.h
parentdd42d07d2a268e836bfcbc70f73764c454637822 (diff)
downloadopenttd-5772da18b2b6b43fcfa3e970a8c68fd8653509d0.tar.xz
(svn r7495) -Fix (r7354): [NewGRF] Deactivate the target GRF, not the current GRF.
Diffstat (limited to 'newgrf_config.h')
-rw-r--r--newgrf_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/newgrf_config.h b/newgrf_config.h
index cb490ebad..2cee7429b 100644
--- a/newgrf_config.h
+++ b/newgrf_config.h
@@ -41,7 +41,7 @@ extern GRFConfig *_grfconfig_static;
void ScanNewGRFFiles(void);
const GRFConfig *FindGRFConfig(uint32 grfid, uint8 *md5sum);
-const GRFConfig *GetGRFConfig(uint32 grfid);
+GRFConfig *GetGRFConfig(uint32 grfid);
void ClearGRFConfig(GRFConfig *config);
void ClearGRFConfigList(GRFConfig *config);
void ResetGRFConfig(bool defaults);