summaryrefslogtreecommitdiff
path: root/src/settings.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-11-17 22:25:16 +0000
committerrubidium <rubidium@openttd.org>2007-11-17 22:25:16 +0000
commit7305a1f1fe4099a7b34e4f19356b775d1b5628b4 (patch)
tree5a088947831b7e86a3d18c2749d6dd39296de048 /src/settings.h
parent2e8d37dcdf08afc074cbff9b610ddf9954af088e (diff)
downloadopenttd-7305a1f1fe4099a7b34e4f19356b775d1b5628b4.tar.xz
(svn r11452) -Change: do not allow configuration changes, that NewGRFs can directly use to change their behaviour, during network games as this can cause desyncs.
Diffstat (limited to 'src/settings.h')
-rw-r--r--src/settings.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/settings.h b/src/settings.h
index 7d00a44a6..426744d16 100644
--- a/src/settings.h
+++ b/src/settings.h
@@ -37,7 +37,8 @@ enum SettingGuiFlagLong {
SGF_MULTISTRING = 1 << 2, ///< the value represents a limited number of string-options (internally integer)
SGF_NETWORK_ONLY = 1 << 3, ///< this setting only applies to network games
SGF_CURRENCY = 1 << 4, ///< the number represents money, so when reading value multiply by exchange rate
- SGF_END = 1 << 5,
+ SGF_NO_NETWORK = 1 << 5, ///< this setting does not apply to network games; it may not be changed during the game
+ SGF_END = 1 << 6,
/* 3 more possible flags */
};