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
This commit is contained in:
Torbjörn Andersson 2004-03-28 13:13:16 +00:00
parent 93336d8bc9
commit 3f18905732

View File

@ -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;
}