mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-23 02:44:56 +00:00
SCUMM: reset ShakePos on loading, fixes one part of bug #7141
This commit is contained in:
parent
315ad620af
commit
8957bf4d7f
@ -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…
x
Reference in New Issue
Block a user