summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2004-08-17 22:39:40 +0000
committerdarkvater <darkvater@openttd.org>2004-08-17 22:39:40 +0000
commit98f1db7b30222074e4f765656a3bd05aec934610 (patch)
tree1cfe61b3f88cd35f574ea8858d5d44bfc9458c74
parent4b919416a2d627fc6c979bc12069f120040a48f7 (diff)
downloadopenttd-98f1db7b30222074e4f765656a3bd05aec934610.tar.xz
(svn r78) -Fix: [1010830] Landscape toolbar in scenario editor shown at wrong position
-rw-r--r--window.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/window.c b/window.c
index df968d3d0..106e1798d 100644
--- a/window.c
+++ b/window.c
@@ -531,8 +531,7 @@ Window *AllocateWindowDesc(const WindowDesc *desc)
if (pt.x > _screen.width + 10 - desc->width)
pt.x = (_screen.width + 10 - desc->width) - 20;
pt.y = w->top + 10;
- // open Build Toolbars and Terraforming Toolbar aligned
- } else if (desc->cls == WC_BUILD_TOOLBAR || desc->cls == WC_SCEN_LAND_GEN) {
+ } else if (desc->cls == WC_BUILD_TOOLBAR) { // open Build Toolbars aligned
/* Override the position if a toolbar is opened according to the place of the maintoolbar
* The main toolbar (WC_MAIN_TOOLBAR) is 640px in width */
switch (_patches.toolbar_pos) {