diff options
author | peter1138 <peter1138@openttd.org> | 2006-12-14 15:14:29 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-12-14 15:14:29 +0000 |
commit | 5772da18b2b6b43fcfa3e970a8c68fd8653509d0 (patch) | |
tree | 6752480ea013d248ce45a8571ddba265f3df08fd /newgrf_config.c | |
parent | dd42d07d2a268e836bfcbc70f73764c454637822 (diff) | |
download | openttd-5772da18b2b6b43fcfa3e970a8c68fd8653509d0.tar.xz |
(svn r7495) -Fix (r7354): [NewGRF] Deactivate the target GRF, not the current GRF.
Diffstat (limited to 'newgrf_config.c')
-rw-r--r-- | newgrf_config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newgrf_config.c b/newgrf_config.c index ef607c2b8..7299be4fe 100644 --- a/newgrf_config.c +++ b/newgrf_config.c @@ -266,7 +266,7 @@ const GRFConfig *FindGRFConfig(uint32 grfid, uint8 *md5sum) /* Retrieve a NewGRF from the current config by its grfid */ -const GRFConfig *GetGRFConfig(uint32 grfid) +GRFConfig *GetGRFConfig(uint32 grfid) { GRFConfig *c; |