summaryrefslogtreecommitdiff
path: root/src/ai/default/default.cpp
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-03-22 03:42:43 +0000
committerbelugas <belugas@openttd.org>2007-03-22 03:42:43 +0000
commit691f8578fd4ea12c372534c367312ee7b8763c39 (patch)
tree7d05afaad21b690abc8c07d95e1f62206b11bccd /src/ai/default/default.cpp
parent829822768516b017f1962e08ce14b0586575c92f (diff)
downloadopenttd-691f8578fd4ea12c372534c367312ee7b8763c39.tar.xz
(svn r9400) -Codechange: Use some more representative enum names for landscape types.
Diffstat (limited to 'src/ai/default/default.cpp')
-rw-r--r--src/ai/default/default.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ai/default/default.cpp b/src/ai/default/default.cpp
index f77bd8a00..edbd0f9c4 100644
--- a/src/ai/default/default.cpp
+++ b/src/ai/default/default.cpp
@@ -2461,7 +2461,7 @@ handle_nocash:
bool is_pass = (
p->ai.cargo_type == CT_PASSENGERS ||
p->ai.cargo_type == CT_MAIL ||
- (_opt.landscape == LT_NORMAL && p->ai.cargo_type == CT_VALUABLES)
+ (_opt.landscape == LT_TEMPERATE && p->ai.cargo_type == CT_VALUABLES)
);
Order order;
@@ -3203,7 +3203,7 @@ static void AiStateBuildRoadVehicles(Player *p)
bool is_pass = (
p->ai.cargo_type == CT_PASSENGERS ||
p->ai.cargo_type == CT_MAIL ||
- (_opt.landscape == LT_NORMAL && p->ai.cargo_type == CT_VALUABLES)
+ (_opt.landscape == LT_TEMPERATE && p->ai.cargo_type == CT_VALUABLES)
);
Order order;