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 ab58b942e1..bd7d4042f8 100644
--- a/engines/dm/sounds.cpp
+++ b/engines/dm/sounds.cpp
@@ -204,7 +204,7 @@ void SoundMan::requestPlay(uint16 soundIndex, int16 mapX, int16 mapY, SoundMode
if (soundMode == kDMSoundModePlayOneTickLater) { /* Add an event in the timeline to play the sound (mode - 1) ticks later */
TimelineEvent newEvent;
newEvent._mapTime = _vm->setMapAndTime(_vm->_dungeonMan->_currMapIndex, _vm->_gameTime + soundMode - 1);
- newEvent._type = k20_TMEventTypePlaySound;
+ newEvent._type = kDMEventTypePlaySound;
newEvent._priority = sound->_priority;
newEvent._Cu._soundIndex = soundIndex;
newEvent._Bu._location._mapX = mapX;