diff options
author | James Brown | 2002-04-18 15:02:57 +0000 |
---|---|---|
committer | James Brown | 2002-04-18 15:02:57 +0000 |
commit | 636d975ddea10fe7b3c882085792d0a7dc662665 (patch) | |
tree | 5783ed5ab3f135112e459416fa42daa7d0991e9d /gfx.cpp | |
parent | 7a9a6f0363d6bd08b50e9fa0ab7e5856b5594939 (diff) | |
download | scummvm-rg350-636d975ddea10fe7b3c882085792d0a7dc662665.tar.gz scummvm-rg350-636d975ddea10fe7b3c882085792d0a7dc662665.tar.bz2 scummvm-rg350-636d975ddea10fe7b3c882085792d0a7dc662665.zip |
Don't shake when GUI is displayed.
svn-id: r3995
Diffstat (limited to 'gfx.cpp')
-rw-r--r-- | gfx.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -21,6 +21,7 @@ #include "stdafx.h" #include "scumm.h" +#include "gui.h" void Scumm::getGraphicsPerformance() { @@ -151,7 +152,7 @@ void Scumm::drawDirtyScreenParts() } /* Handle shaking */ - if (_shakeEnabled) { + if (_shakeEnabled && !_gui->_active) { _shakeFrame = (_shakeFrame + 1) & (NUM_SHAKE_POSITIONS - 1); _system->set_shake_pos(shake_positions[_shakeFrame]); } |