mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-12 09:09:09 +00:00
(svn r9616) -Cleanup: Remove the NS setting type since it causes desyncs in multiplayer mode and only serves to confuse patch authors.
This commit is contained in:
@@ -942,7 +942,8 @@ static void ini_save_setting_list(IniFile *ini, const char *grpname, char **list
|
|||||||
* 2. SDT_something
|
* 2. SDT_something
|
||||||
* The 'G' stands for global, so this is the one you will use for a
|
* The 'G' stands for global, so this is the one you will use for a
|
||||||
* SettingDescGlobVarList section meaning global variables. The other uses a
|
* SettingDescGlobVarList section meaning global variables. The other uses a
|
||||||
* Base/Offset and runtime variable selection mechanism, known from the saveload * convention (it also has global so it should not be hard).
|
* Base/Offset and runtime variable selection mechanism, known from the saveload
|
||||||
|
* convention (it also has global so it should not be hard).
|
||||||
* Of each type there are again two versions, the normal one and one prefixed
|
* Of each type there are again two versions, the normal one and one prefixed
|
||||||
* with 'COND'.
|
* with 'COND'.
|
||||||
* COND means that the setting is only valid in certain savegame versions
|
* COND means that the setting is only valid in certain savegame versions
|
||||||
@@ -1065,7 +1066,6 @@ static void ini_save_setting_list(IniFile *ini, const char *grpname, char **list
|
|||||||
/* Shortcuts for macros below. Logically if we don't save the value
|
/* Shortcuts for macros below. Logically if we don't save the value
|
||||||
* we also don't sync it in a network game */
|
* we also don't sync it in a network game */
|
||||||
#define S SLF_SAVE_NO | SLF_NETWORK_NO
|
#define S SLF_SAVE_NO | SLF_NETWORK_NO
|
||||||
#define NS SLF_SAVE_NO
|
|
||||||
#define C SLF_CONFIG_NO
|
#define C SLF_CONFIG_NO
|
||||||
#define N SLF_NETWORK_NO
|
#define N SLF_NETWORK_NO
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user