summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordominik <dominik@openttd.org>2004-12-12 18:06:48 +0000
committerdominik <dominik@openttd.org>2004-12-12 18:06:48 +0000
commit532aa593a67e769560e107b1637072809ea061cd (patch)
tree7c30a1762ce58fff9b3ead159f977ea0437d1a4c
parent3887747e4a69127532fbd74c1047e15ad226ad9b (diff)
downloadopenttd-532aa593a67e769560e107b1637072809ea061cd.tar.xz
(svn r1033) -Add: 'l' openes the landscaping toolbar globally
-rw-r--r--main_gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main_gui.c b/main_gui.c
index 369b2aa80..157e1946e 100644
--- a/main_gui.c
+++ b/main_gui.c
@@ -51,7 +51,6 @@ void HandleOnEditTextCancel() {
#ifdef ENABLE_NETWORK
case 4:
NetworkDisconnect();
- ShowNetworkGameWindow();
break;
#endif /* ENABLE_NETWORK */
}
@@ -1809,6 +1808,7 @@ static void MainToolbarWndProc(Window *w, WindowEvent *e)
case WKC_PAUSE:
ToolbarPauseClick(w);
break;
+ case 'L': ShowTerraformToolbar(); break;
case WKC_F2: ShowGameOptions(); break;
case WKC_F3: MenuClickSaveLoad(0); break;
case WKC_F4: ShowSmallMap(); break;
@@ -2229,7 +2229,7 @@ static void MainWindowWndProc(Window *w, WindowEvent *e) {
DrawSprite(SPR_OTTD_T, off_x + 34, 50);
DrawSprite(SPR_OTTD_T, off_x + 65, 50);
DrawSprite(SPR_OTTD_D, off_x + 96, 50);
-
+
/*
DrawSprite(SPR_OTTD_R, off_x + 119, 50);
DrawSprite(SPR_OTTD_A, off_x + 148, 50);