summaryrefslogtreecommitdiff
path: root/src/ai
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
commit06d3669bb54143c588bd7b3abddbbb79582c94ee (patch)
tree7d05afaad21b690abc8c07d95e1f62206b11bccd /src/ai
parent6e9ab4f7b8ceefa99ee2e074b0fb814d8ece3740 (diff)
downloadopenttd-06d3669bb54143c588bd7b3abddbbb79582c94ee.tar.xz
(svn r9400) -Codechange: Use some more representative enum names for landscape types.
Diffstat (limited to 'src/ai')
-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;