[Scummvm-cvs-logs] scummvm master -> a843df23b2719952b7ecec63c47df0fe9d1f5c11

dreammaster dreammaster at scummvm.org
Sat Sep 15 10:53:15 CEST 2012


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
a843df23b2 TSAGE: Add missing motorcycle sound arriving at police station in Blue Force


Commit: a843df23b2719952b7ecec63c47df0fe9d1f5c11
    https://github.com/scummvm/scummvm/commit/a843df23b2719952b7ecec63c47df0fe9d1f5c11
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2012-09-15T01:52:12-07:00

Commit Message:
TSAGE: Add missing motorcycle sound arriving at police station in Blue Force

Changed paths:
    engines/tsage/blue_force/blueforce_scenes3.cpp



diff --git a/engines/tsage/blue_force/blueforce_scenes3.cpp b/engines/tsage/blue_force/blueforce_scenes3.cpp
index 22c831f..81e4af6 100644
--- a/engines/tsage/blue_force/blueforce_scenes3.cpp
+++ b/engines/tsage/blue_force/blueforce_scenes3.cpp
@@ -346,6 +346,14 @@ void Scene300::postInit(SceneObjectList *OwnerList) {
 		break;
 	}
 
+	if (BF_GLOBALS.getFlag(onBike) && !BF_GLOBALS.getFlag(onDuty)) {
+		BF_GLOBALS._sound1.play(30);
+	} else if ((BF_GLOBALS._dayNumber == 2) && (BF_GLOBALS._bookmark < bEndDayOne)) {
+		BF_GLOBALS._sound1.changeSound(49);
+	} else if (BF_GLOBALS._sceneManager._previousScene != 190) {
+		BF_GLOBALS._sound1.changeSound(33);
+	}
+
 	_item10.setDetails(4, 300, 7, 13, 16, 1);
 	_item11.setDetails(2, 300, 9, 13, 18, 1);
 	_item12.setDetails(5, 300, 10, 13, 19, 1);






More information about the Scummvm-git-logs mailing list