diff options
author | Paul Gilbert | 2016-08-11 18:30:24 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-08-11 18:30:24 -0400 |
commit | e8ea243a1468168d78d4c2d61f5d22a7421f8f2e (patch) | |
tree | 2723358c6cb6a6a75d7ac77a9882434c4ecc8c2b /engines/titanic/core | |
parent | 22408230ec9e82665a80fd4476a9f2747ffaff0e (diff) | |
download | scummvm-rg350-e8ea243a1468168d78d4c2d61f5d22a7421f8f2e.tar.gz scummvm-rg350-e8ea243a1468168d78d4c2d61f5d22a7421f8f2e.tar.bz2 scummvm-rg350-e8ea243a1468168d78d4c2d61f5d22a7421f8f2e.zip |
TITANIC: Set up positioning mode in sound manager & CProximity
Diffstat (limited to 'engines/titanic/core')
-rw-r--r-- | engines/titanic/core/game_object.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/core/game_object.cpp b/engines/titanic/core/game_object.cpp index 67b7920f04..0661f25478 100644 --- a/engines/titanic/core/game_object.cpp +++ b/engines/titanic/core/game_object.cpp @@ -726,7 +726,7 @@ int CGameObject::playSound(const CString &name, uint volume, int val3, bool repe } int CGameObject::playSound(const CString &name, CProximity &prox) { - if (prox._field28 == 2) { + if (prox._positioningMode == POSMODE_VECTOR) { // If the proximity doesn't have a position defined, default it to // the position of the view to which the game object belongs if (prox._posX == 0.0 && prox._posY == 0.0 && prox._posZ == 0.0) |