aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/core
diff options
context:
space:
mode:
authorPaul Gilbert2016-09-01 20:53:01 -0400
committerPaul Gilbert2016-09-01 20:53:01 -0400
commitd9d10d9801d73baf368e4f34de2ec00c0263e552 (patch)
treea1ab111e3d1daf92c6d14208f65fa61494009887 /engines/titanic/core
parent33737ea2dcd97026706dd75f8c2c27fa148c165a (diff)
downloadscummvm-rg350-d9d10d9801d73baf368e4f34de2ec00c0263e552.tar.gz
scummvm-rg350-d9d10d9801d73baf368e4f34de2ec00c0263e552.tar.bz2
scummvm-rg350-d9d10d9801d73baf368e4f34de2ec00c0263e552.zip
TITANIC: Implement timed changes in volume like the original does
Diffstat (limited to 'engines/titanic/core')
-rw-r--r--engines/titanic/core/game_object.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/titanic/core/game_object.cpp b/engines/titanic/core/game_object.cpp
index aa6ffda0e3..53ad5de941 100644
--- a/engines/titanic/core/game_object.cpp
+++ b/engines/titanic/core/game_object.cpp
@@ -468,16 +468,16 @@ void CGameObject::playGlobalSound(const CString &resName, int mode, bool initial
switch (handleIndex) {
case 0:
- prox._channel = 6;
+ prox._channelMode = 6;
break;
case 1:
- prox._channel = 7;
+ prox._channelMode = 7;
break;
case 2:
- prox._channel = 8;
+ prox._channelMode = 8;
break;
case 3:
- prox._channel = 9;
+ prox._channelMode = 9;
break;
default:
break;