Fixed bug #1573366 ("SMUSH: unpausing the game causes cursor to show").
svn-id: r24310
This commit is contained in:
parent
93600ae194
commit
2c011da3c1
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue