diff options
author | Torbjörn Andersson | 2004-03-28 13:13:16 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2004-03-28 13:13:16 +0000 |
commit | 3f189057327b3f7eed80fa25f20285171705f2f9 (patch) | |
tree | d46ff47f7ca8fb54ca29310be2a72e96685495b2 | |
parent | 93336d8bc9752a55c2374542c9915a2112e17bcb (diff) | |
download | scummvm-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
-rw-r--r-- | sword2/save_rest.cpp | 3 |
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; } |