aboutsummaryrefslogtreecommitdiff
path: root/engines/dm/sounds.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/dm/sounds.cpp')
-rw-r--r--engines/dm/sounds.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/dm/sounds.cpp b/engines/dm/sounds.cpp
index f09d8312a4..d077ee58ec 100644
--- a/engines/dm/sounds.cpp
+++ b/engines/dm/sounds.cpp
@@ -202,7 +202,7 @@ void SoundMan::requestPlay(uint16 soundIndex, int16 mapX, int16 mapY, uint16 mod
Sound *sound = &_sounds[soundIndex];
if (mode > k1_soundModePlayIfPrioritized) { /* Add an event in the timeline to play the sound (mode - 1) ticks later */
TimelineEvent newEvent;
- setMapAndTime(newEvent._mapTime, _vm->_dungeonMan->_currMapIndex, _vm->_gameTime + mode - 1);
+ _vm->setMapAndTime(newEvent._mapTime, _vm->_dungeonMan->_currMapIndex, _vm->_gameTime + mode - 1);
newEvent._type = k20_TMEventTypePlaySound;
newEvent._priority = sound->_priority;
newEvent._Cu._soundIndex = soundIndex;