diff options
author | planetmaker <planetmaker@openttd.org> | 2010-11-07 21:46:41 +0000 |
---|---|---|
committer | planetmaker <planetmaker@openttd.org> | 2010-11-07 21:46:41 +0000 |
commit | 5565ae1ac0d41c95812fe1a1713188a200d75876 (patch) | |
tree | 8940467fc369492be882448b48326c7764bb1bbe /src/toolbar_gui.cpp | |
parent | b9ccf6dcccd6336dd24e6ed5d4cd02d93526c7c8 (diff) | |
download | openttd-5565ae1ac0d41c95812fe1a1713188a200d75876.tar.xz |
(svn r21116) -Add [FS#3012]: Reduce the chances to accidentially break savegames with NewGRFs
Diffstat (limited to 'src/toolbar_gui.cpp')
-rw-r--r-- | src/toolbar_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/toolbar_gui.cpp b/src/toolbar_gui.cpp index 6047c6c42..b703f6790 100644 --- a/src/toolbar_gui.cpp +++ b/src/toolbar_gui.cpp @@ -319,7 +319,7 @@ static void MenuClickSettings(int index) case OME_GAMEOPTIONS: ShowGameOptions(); return; case OME_DIFFICULTIES: ShowGameDifficulty(); return; case OME_SETTINGS: ShowGameSettings(); return; - case OME_NEWGRFSETTINGS: ShowNewGRFSettings(!_networking, true, true, &_grfconfig); return; + case OME_NEWGRFSETTINGS: ShowNewGRFSettings(!_networking && _settings_client.gui.UserIsAllowedToChangeNewGRFs(), true, true, &_grfconfig); return; case OME_TRANSPARENCIES: ShowTransparencyToolbar(); break; case OME_SHOW_TOWNNAMES: ToggleBit(_display_opt, DO_SHOW_TOWN_NAMES); break; |