Fixed bug #1573366 ("SMUSH: unpausing the game causes cursor to show").

svn-id: r24310
This commit is contained in:
Torbjörn Andersson 2006-10-14 13:11:22 +00:00
parent 93600ae194
commit 2c011da3c1

View file

@ -2078,11 +2078,14 @@ int ScummEngine::runDialog(Dialog &dialog) {
bool old_soundsPaused = _sound->_soundsPaused;
_sound->pauseSounds(true);
bool visible = CursorMan.isVisible();
// Open & run the dialog
int result = dialog.runModal();
// Restore old cursor
updateCursor();
CursorMan.showMouse(visible);
// Resume sound & video
_sound->pauseSounds(old_soundsPaused);