diff options
Diffstat (limited to 'engines/dm/sounds.cpp')
-rw-r--r-- | engines/dm/sounds.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/dm/sounds.cpp b/engines/dm/sounds.cpp index a4de3c3984..6da816b24c 100644 --- a/engines/dm/sounds.cpp +++ b/engines/dm/sounds.cpp @@ -180,6 +180,8 @@ bool SoundMan::soundGetVolume(int16 mapX, int16 mapY, uint8 *leftVolume, uint8 * rightVolumeColumnIndex = -(mapY - _vm->_dungeonMan->_partyMapY); lineIndex = mapX - _vm->_dungeonMan->_partyMapX; break; + default: + break; } if ((rightVolumeColumnIndex < -12) || (rightVolumeColumnIndex > 12)) /* Sound is not audible if source is more than 12 squares away from the party */ |