[Scummvm-cvs-logs] SF.net SVN: scummvm:[52628] scummvm/trunk/engines/mohawk/riven_external.cpp

mthreepwood at users.sourceforge.net mthreepwood at users.sourceforge.net
Tue Sep 7 21:00:56 CEST 2010


Revision: 52628
          http://scummvm.svn.sourceforge.net/scummvm/?rev=52628&view=rev
Author:   mthreepwood
Date:     2010-09-07 19:00:55 +0000 (Tue, 07 Sep 2010)

Log Message:
-----------
MOHAWK: Add stopping sounds to the telescope functions

Modified Paths:
--------------
    scummvm/trunk/engines/mohawk/riven_external.cpp

Modified: scummvm/trunk/engines/mohawk/riven_external.cpp
===================================================================
--- scummvm/trunk/engines/mohawk/riven_external.cpp	2010-09-07 18:50:48 UTC (rev 52627)
+++ scummvm/trunk/engines/mohawk/riven_external.cpp	2010-09-07 19:00:55 UTC (rev 52628)
@@ -1852,7 +1852,8 @@
 			}
 		} else {
 			// ...the telescope can't move down anymore.
-			// TODO: Play sound
+			// Play the sound of not being able to move
+			_vm->_sound->playSound(13, false);
 		}
 	} else {
 		// We're not at the bottom, and we can move down again
@@ -1877,7 +1878,8 @@
 
 	// Check if we can't move up anymore
 	if (*telescopePos == 5) {
-		// TODO: Play sound
+		// Play the sound of not being able to move
+		_vm->_sound->playSound(13, false);
 		return;
 	}
 


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