SCUMM: reset ShakePos on loading, fixes one part of bug #7141
This commit is contained in:
parent
315ad620af
commit
8957bf4d7f
1 changed files with 4 additions and 0 deletions
|
@ -1137,6 +1137,10 @@ void ScummEngine::saveOrLoad(Serializer *s) {
|
|||
if (s->isLoading() && s->getVersion() < VER(14))
|
||||
upgradeGfxUsageBits();
|
||||
|
||||
// When loading, reset the ShakePos. Fixes one part of bug #7141
|
||||
if (s->isLoading() && s->getVersion() >= VER(10))
|
||||
_system->setShakePos(0);
|
||||
|
||||
// When loading, move the mouse to the saved mouse position.
|
||||
if (s->isLoading() && s->getVersion() >= VER(20)) {
|
||||
updateCursor();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue