summaryrefslogtreecommitdiff
path: root/src/station_cmd.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/station_cmd.cpp
parent829822768516b017f1962e08ce14b0586575c92f (diff)
downloadopenttd-691f8578fd4ea12c372534c367312ee7b8763c39.tar.xz
(svn r9400) -Codechange: Use some more representative enum names for landscape types.
Diffstat (limited to 'src/station_cmd.cpp')
-rw-r--r--src/station_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp
index 3865b41e1..09153ba39 100644
--- a/src/station_cmd.cpp
+++ b/src/station_cmd.cpp
@@ -250,7 +250,7 @@ static bool GenerateStationName(Station *st, TileIndex tile, int flag)
CountMapSquareAround(tile, MP_TREES, 0) >= 8 ||
CountMapSquareAround(tile, MP_INDUSTRY, IT_FOREST) >= 2)
) {
- found = _opt.landscape == LT_DESERT ?
+ found = _opt.landscape == LT_TROPIC ?
M(STR_SV_STNAME_FOREST) : M(STR_SV_STNAME_WOODS);
goto done;
}