(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:
@@ -778,7 +778,7 @@ void NewTrainPathfind(TileIndex tile, TileIndex dest, RailTypes railtypes, DiagD
|
||||
tpf->enum_proc = enum_proc;
|
||||
tpf->tracktype = TRANSPORT_RAIL;
|
||||
tpf->railtypes = railtypes;
|
||||
tpf->maxlength = min(_settings.pf.opf.pf_maxlength * 3, 10000);
|
||||
tpf->maxlength = min(_settings_game.pf.opf.pf_maxlength * 3, 10000);
|
||||
tpf->nstack = 0;
|
||||
tpf->new_link = tpf->links;
|
||||
tpf->num_links_left = lengthof(tpf->links);
|
||||
|
Reference in New Issue
Block a user