summaryrefslogtreecommitdiff
path: root/src/rail.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-05-25 22:36:44 +0000
committerrubidium <rubidium@openttd.org>2008-05-25 22:36:44 +0000
commit8c9cc415e3eac6a7709f6a8978f213311416312e (patch)
tree1460114c8e9243ecb6e428c7db15dfa7abc391ed /src/rail.cpp
parent51ca426c4bdb85137be82b0cc2436fc5ac0c442f (diff)
downloadopenttd-8c9cc415e3eac6a7709f6a8978f213311416312e.tar.xz
(svn r13255) -Codechange: move _opt to _settings.
Diffstat (limited to 'src/rail.cpp')
-rw-r--r--src/rail.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rail.cpp b/src/rail.cpp
index fc21f5dfe..00e9d91d2 100644
--- a/src/rail.cpp
+++ b/src/rail.cpp
@@ -207,7 +207,7 @@ RailTypes GetPlayerRailtypes(PlayerID p)
FOR_ALL_ENGINES_OF_TYPE(e, VEH_TRAIN) {
const EngineInfo *ei = &e->info;
- if (HasBit(ei->climates, _opt.landscape) &&
+ if (HasBit(ei->climates, _settings.game_creation.landscape) &&
(HasBit(e->player_avail, p) || _date >= e->intro_date + 365)) {
const RailVehicleInfo *rvi = &e->u.rail;