summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2007-06-30 11:28:26 +0000
committerpeter1138 <peter1138@openttd.org>2007-06-30 11:28:26 +0000
commit9043900ed64eaafd15f44c42ac53bb7ee60495fa (patch)
tree366a24566436e30e2ed1dedc9210c1bb18c115d5 /src
parent2bd72b978b4b15bf33e4988ad67ef9e3407ecbc7 (diff)
downloadopenttd-9043900ed64eaafd15f44c42ac53bb7ee60495fa.tar.xz
(svn r10398) -Fix (r10271): transparency menu option wasn't moved properly in the scenario editor
Diffstat (limited to 'src')
-rw-r--r--src/main_gui.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp
index 69a8a649b..5d1634cab 100644
--- a/src/main_gui.cpp
+++ b/src/main_gui.cpp
@@ -233,8 +233,7 @@ static void MenuClickScenMap(int index)
case 0: ShowSmallMap(); break;
case 1: ShowExtraViewPortWindow(); break;
case 2: ShowSignList(); break;
- case 3: ShowTransparencyToolbar(); break;
- case 4: ShowTownDirectory(); break;
+ case 3: ShowTownDirectory(); break;
}
}
@@ -1036,7 +1035,7 @@ static void ToolbarScenDateForward(Window *w)
static void ToolbarScenMapTownDir(Window *w)
{
/* Scenario editor button, *hack*hack* use different button to activate */
- PopupMainToolbMenu(w, 8 | (17 << 8), STR_02DE_MAP_OF_WORLD, 5, 0);
+ PopupMainToolbMenu(w, 8 | (17 << 8), STR_02DE_MAP_OF_WORLD, 4, 0);
}
static void ToolbarScenZoomIn(Window *w)