[Scummvm-git-logs] scummvm master -> 5d8b0e478ee513652703253a50d3c3746f16a0b0

dreammaster dreammaster at scummvm.org
Fri Nov 18 03:29:12 CET 2016


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:
5d8b0e478e TITANIC: Change some #if 0 to use SPATIAL_SOUND as a better description


Commit: 5d8b0e478ee513652703253a50d3c3746f16a0b0
    https://github.com/scummvm/scummvm/commit/5d8b0e478ee513652703253a50d3c3746f16a0b0
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2016-11-17T21:29:05-05:00

Commit Message:
TITANIC: Change some #if 0 to use SPATIAL_SOUND as a better description

Changed paths:
    engines/titanic/true_talk/true_talk_manager.cpp



diff --git a/engines/titanic/true_talk/true_talk_manager.cpp b/engines/titanic/true_talk/true_talk_manager.cpp
index fbb9d17..d90223c 100644
--- a/engines/titanic/true_talk/true_talk_manager.cpp
+++ b/engines/titanic/true_talk/true_talk_manager.cpp
@@ -514,7 +514,7 @@ void CTrueTalkManager::playSpeech(TTtalker *talker, TTroomScript *roomScript, CV
 	_gameManager->_sound.stopChannel(p1._channelMode);
 	if (view) {
 		p1._positioningMode = POSMODE_VECTOR;
-#if 0
+#ifdef SPATIAL_SOUND
 		view->getPosition(p1._posX, p1._posY, p1._posZ);
 #endif
 	}
@@ -540,7 +540,7 @@ void CTrueTalkManager::playSpeech(TTtalker *talker, TTroomScript *roomScript, CV
 
 		if (idx == 0)
 			g_vm->_events->sleep(milli);
-#if 0
+#ifdef SPATIAL_SOUND
 		// TODO: Figure out if these below are needed. It kinda looks like they were
 		// simply playing the same speech at different spatial co-ordinates. And since
 		// we don't support spatial processing in ScummVM yet, they're being left disabled





More information about the Scummvm-git-logs mailing list