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_gui.h | |
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_gui.h')
-rw-r--r-- | src/window_gui.h | 2 |
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); |