summaryrefslogtreecommitdiff
path: root/src/window_gui.h
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2009-12-22 20:43:25 +0000
committeralberth <alberth@openttd.org>2009-12-22 20:43:25 +0000
commit3323d64f280cea84addc96d0018adaf93bb4e43b (patch)
tree3b19aa044205e1e454be4842a12f956840d49b0b /src/window_gui.h
parent7dbc77a1e74be00f520e84fa1605a9ba42a05879 (diff)
downloadopenttd-3323d64f280cea84addc96d0018adaf93bb4e43b.tar.xz
(svn r18606) -Codechange: Introduce several forms of zero-size stacked display planes.
Diffstat (limited to 'src/window_gui.h')
-rw-r--r--src/window_gui.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window_gui.h b/src/window_gui.h
index d8d56c923..d36b704ad 100644
--- a/src/window_gui.h
+++ b/src/window_gui.h
@@ -540,7 +540,7 @@ public:
/** Is window shaded currently? */
inline bool IsShaded() const
{
- return this->shade_select != NULL && this->shade_select->shown_plane == STACKED_SELECTION_ZERO_SIZE;
+ return this->shade_select != NULL && this->shade_select->shown_plane == SZSP_NONE;
}
void SetShaded(bool make_shaded);