diff options
author | belugas <belugas@openttd.org> | 2007-03-22 03:42:43 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2007-03-22 03:42:43 +0000 |
commit | 06d3669bb54143c588bd7b3abddbbb79582c94ee (patch) | |
tree | 7d05afaad21b690abc8c07d95e1f62206b11bccd /src/main_gui.cpp | |
parent | 6e9ab4f7b8ceefa99ee2e074b0fb814d8ece3740 (diff) | |
download | openttd-06d3669bb54143c588bd7b3abddbbb79582c94ee.tar.xz |
(svn r9400) -Codechange: Use some more representative enum names for landscape types.
Diffstat (limited to 'src/main_gui.cpp')
-rw-r--r-- | src/main_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp index 4d3aeda49..6f3be6341 100644 --- a/src/main_gui.cpp +++ b/src/main_gui.cpp @@ -1211,7 +1211,7 @@ static void EditorTerraformClick_RockyArea(Window *w) static void EditorTerraformClick_DesertLightHouse(Window *w) { - HandlePlacePushButton(w, 10, SPR_CURSOR_LIGHTHOUSE, 1, (_opt.landscape == LT_DESERT) ? PlaceProc_DesertArea : PlaceProc_LightHouse); + HandlePlacePushButton(w, 10, SPR_CURSOR_LIGHTHOUSE, 1, (_opt.landscape == LT_TROPIC) ? PlaceProc_DesertArea : PlaceProc_LightHouse); } static void EditorTerraformClick_Transmitter(Window *w) @@ -1275,7 +1275,7 @@ static void ScenEditLandGenWndProc(Window *w, WindowEvent *e) switch (e->event) { case WE_CREATE: /* XXX - lighthouse button is widget 10!! Don't forget when changing */ - w->widget[10].tooltips = (_opt.landscape == LT_DESERT) ? STR_028F_DEFINE_DESERT_AREA : STR_028D_PLACE_LIGHTHOUSE; + w->widget[10].tooltips = (_opt.landscape == LT_TROPIC) ? STR_028F_DEFINE_DESERT_AREA : STR_028D_PLACE_LIGHTHOUSE; break; case WE_PAINT: |