no shaking while NewGUI is showing
svn-id: r4617
This commit is contained in:
parent
75b48a04f6
commit
150ed1b8c6
1 changed files with 2 additions and 1 deletions
3
gfx.cpp
3
gfx.cpp
|
@ -23,6 +23,7 @@
|
|||
#include "scumm.h"
|
||||
#include "actor.h"
|
||||
#include "gui.h"
|
||||
#include "newgui.h"
|
||||
#include "resource.h"
|
||||
|
||||
void Scumm::getGraphicsPerformance()
|
||||
|
@ -156,7 +157,7 @@ void Scumm::drawDirtyScreenParts()
|
|||
}
|
||||
|
||||
/* Handle shaking */
|
||||
if (_shakeEnabled && !_gui->isActive()) {
|
||||
if (_shakeEnabled && !_gui->isActive() && !_newgui->isActive()) {
|
||||
_shakeFrame = (_shakeFrame + 1) & (NUM_SHAKE_POSITIONS - 1);
|
||||
_system->set_shake_pos(shake_positions[_shakeFrame]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue