diff options
author | alberth <alberth@openttd.org> | 2009-12-22 20:43:25 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2009-12-22 20:43:25 +0000 |
commit | 3323d64f280cea84addc96d0018adaf93bb4e43b (patch) | |
tree | 3b19aa044205e1e454be4842a12f956840d49b0b /src/window.cpp | |
parent | 7dbc77a1e74be00f520e84fa1605a9ba42a05879 (diff) | |
download | openttd-3323d64f280cea84addc96d0018adaf93bb4e43b.tar.xz |
(svn r18606) -Codechange: Introduce several forms of zero-size stacked display planes.
Diffstat (limited to 'src/window.cpp')
-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 f0d3ce931..45484cf09 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -552,7 +552,7 @@ void Window::SetShaded(bool make_shaded) { if (this->shade_select == NULL) return; - int desired = make_shaded ? STACKED_SELECTION_ZERO_SIZE : 0; + int desired = make_shaded ? SZSP_NONE : 0; if (this->shade_select->shown_plane != desired) { if (make_shaded) { this->unshaded_size.width = this->width; |