aboutsummaryrefslogtreecommitdiff
path: root/sword2
diff options
context:
space:
mode:
authorTorbjörn Andersson2004-03-28 13:13:16 +0000
committerTorbjörn Andersson2004-03-28 13:13:16 +0000
commit3f189057327b3f7eed80fa25f20285171705f2f9 (patch)
treed46ff47f7ca8fb54ca29310be2a72e96685495b2 /sword2
parent93336d8bc9752a55c2374542c9915a2112e17bcb (diff)
downloadscummvm-rg350-3f189057327b3f7eed80fa25f20285171705f2f9.tar.gz
scummvm-rg350-3f189057327b3f7eed80fa25f20285171705f2f9.tar.bz2
scummvm-rg350-3f189057327b3f7eed80fa25f20285171705f2f9.zip
Force the engine to pick a cursor after restoring a game. This appears to
be needed when using the -x command-line option to restore a game, though I'm not quite sure why. svn-id: r13400
Diffstat (limited to 'sword2')
-rw-r--r--sword2/save_rest.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/sword2/save_rest.cpp b/sword2/save_rest.cpp
index d14e1da50b..bb98ed8117 100644
--- a/sword2/save_rest.cpp
+++ b/sword2/save_rest.cpp
@@ -247,6 +247,9 @@ uint32 Sword2Engine::restoreGame(uint16 slotNo) {
_memory->freeMemory(saveBufferMem);
}
+ // Force the game engine to pick a cursor. This appears to be needed
+ // when using the -x command-line option to restore a game.
+ _mouseTouching = 1;
return errorCode;
}