diff options
author | rubidium <rubidium@openttd.org> | 2007-07-28 21:00:31 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-07-28 21:00:31 +0000 |
commit | aeb992ce90797a1744d40fea11980eeee30daa9e (patch) | |
tree | 9383b904fda9d1963f5a5054a4305c104cddc125 /src | |
parent | b6c3a127af1eb4248ea40c32d4df7e5bd6ce57bb (diff) | |
download | openttd-aeb992ce90797a1744d40fea11980eeee30daa9e.tar.xz |
(svn r10717) -Fix: in-game console had a "transparent" part when opened in a game, while it did not in the menu.
Diffstat (limited to 'src')
-rw-r--r-- | src/window.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.cpp b/src/window.cpp index 9d400dd83..db4052de3 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -690,7 +690,7 @@ static Window *LocalAllocateWindow( } const Window *wt = FindWindowById(WC_MAIN_TOOLBAR, 0); - w->top = max(w->top, (wt == NULL || w == wt) ? 0 : wt->height); + w->top = max(w->top, (wt == NULL || w == wt || y == 0) ? 0 : wt->height); w->left = max(w->left, 0); SetWindowDirty(w); |