(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.

This commit is contained in:
rubidium
2007-11-17 22:25:16 +00:00
parent 004fe26a27
commit 09906e3de2
4 changed files with 25 additions and 15 deletions

View File

@@ -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 */
};