aboutsummaryrefslogtreecommitdiff
path: root/gfx.cpp
diff options
context:
space:
mode:
authorMax Horn2002-05-08 00:27:09 +0000
committerMax Horn2002-05-08 00:27:09 +0000
commit02a75c052134b5aaffb015c9f604063e4eb54f73 (patch)
tree0ac19b030aa5b786383b72e509d4a68ace15416d /gfx.cpp
parentd3ceb767d85706a7db08c1381e84083cf5142fac (diff)
downloadscummvm-rg350-02a75c052134b5aaffb015c9f604063e4eb54f73.tar.gz
scummvm-rg350-02a75c052134b5aaffb015c9f604063e4eb54f73.tar.bz2
scummvm-rg350-02a75c052134b5aaffb015c9f604063e4eb54f73.zip
made most stuff in gui class protected, as it should be; moved internal definitions from gui.h to gui.cpp; added up/down arrows to save dialog (ugly, but better than nothing IMO
svn-id: r4234
Diffstat (limited to 'gfx.cpp')
-rw-r--r--gfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx.cpp b/gfx.cpp
index fb55cfa3a1..4b654ae231 100644
--- a/gfx.cpp
+++ b/gfx.cpp
@@ -153,7 +153,7 @@ void Scumm::drawDirtyScreenParts()
}
/* Handle shaking */
- if (_shakeEnabled && !_gui->_active) {
+ if (_shakeEnabled && !_gui->isActive()) {
_shakeFrame = (_shakeFrame + 1) & (NUM_SHAKE_POSITIONS - 1);
_system->set_shake_pos(shake_positions[_shakeFrame]);
}