forked from mirror/OpenTTD
(svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
This commit is contained in:
@@ -21,7 +21,7 @@ uint32 TownGetVariable(byte variable, byte parameter, bool *available, const Tow
|
||||
switch (variable) {
|
||||
/* Larger towns */
|
||||
case 0x40:
|
||||
if (_settings.economy.larger_towns == 0) return 2;
|
||||
if (_settings_game.economy.larger_towns == 0) return 2;
|
||||
if (t->larger_town) return 1;
|
||||
return 0;
|
||||
|
||||
|
Reference in New Issue
Block a user