summaryrefslogtreecommitdiff
path: root/engine.c
diff options
context:
space:
mode:
Diffstat (limited to 'engine.c')
-rw-r--r--engine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine.c b/engine.c
index b2f369d01..2825c7c9f 100644
--- a/engine.c
+++ b/engine.c
@@ -183,7 +183,7 @@ void StartupEngines(void)
uint32 r;
e->age = 0;
- e->railtype = ei->railtype_climates >> 4;
+ e->railtype = ei->railtype;
e->flags = 0;
e->player_avail = 0;
@@ -217,7 +217,7 @@ void StartupEngines(void)
e->lifelength = ei->lifelength + _patches.extend_vehicle_life;
// prevent certain engines from ever appearing.
- if (!HASBIT(ei->railtype_climates, _opt.landscape)) {
+ if (!HASBIT(ei->climates, _opt.landscape)) {
e->flags |= ENGINE_AVAILABLE;
e->player_avail = 0;
}