[Scummvm-cvs-logs] SF.net SVN: scummvm: [24310] scummvm/trunk/engines/scumm/scumm.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Sat Oct 14 15:11:26 CEST 2006


Revision: 24310
          http://svn.sourceforge.net/scummvm/?rev=24310&view=rev
Author:   eriktorbjorn
Date:     2006-10-14 06:11:22 -0700 (Sat, 14 Oct 2006)

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

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/scumm.cpp

Modified: scummvm/trunk/engines/scumm/scumm.cpp
===================================================================
--- scummvm/trunk/engines/scumm/scumm.cpp	2006-10-14 12:31:08 UTC (rev 24309)
+++ scummvm/trunk/engines/scumm/scumm.cpp	2006-10-14 13:11:22 UTC (rev 24310)
@@ -2078,11 +2078,14 @@
 	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);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list