aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/entities/mahmud.cpp
diff options
context:
space:
mode:
authorLittleboy2011-06-24 10:56:49 -0400
committerLittleboy2011-06-24 10:56:49 -0400
commit5d020fffad44c78414b91de7c26653b11b78b60f (patch)
tree50899050b92b6e30f8bda0204d923c89aa5c7416 /engines/lastexpress/entities/mahmud.cpp
parent08375150ca0b4719ddda7932d5f5061fff225a28 (diff)
downloadscummvm-rg350-5d020fffad44c78414b91de7c26653b11b78b60f.tar.gz
scummvm-rg350-5d020fffad44c78414b91de7c26653b11b78b60f.tar.bz2
scummvm-rg350-5d020fffad44c78414b91de7c26653b11b78b60f.zip
LASTEXPRESS: Refactor Sound class
- Move entry-related functions to separate class - Move enumeration to shared header and rename FlagType to SoundFlag
Diffstat (limited to 'engines/lastexpress/entities/mahmud.cpp')
-rw-r--r--engines/lastexpress/entities/mahmud.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/lastexpress/entities/mahmud.cpp b/engines/lastexpress/entities/mahmud.cpp
index 7d30d31a84..f9ae741d0e 100644
--- a/engines/lastexpress/entities/mahmud.cpp
+++ b/engines/lastexpress/entities/mahmud.cpp
@@ -204,7 +204,7 @@ IMPLEMENT_FUNCTION_II(10, Mahmud, function10, ObjectIndex, bool)
if (getState()->time >= kTimeCityGalanta) {
params->param3 = 0;
} else {
- getSound()->playSound(kEntityTrain, "LIB050", SoundManager::kFlagDefault);
+ getSound()->playSound(kEntityTrain, "LIB050", kFlagDefault);
getLogic()->gameOver(kSavegameTypeIndex, 0, (getProgress().chapter == kChapter1) ? kSceneGameOverPolice1 : kSceneGameOverPolice2, true);
}
break;
@@ -235,7 +235,7 @@ IMPLEMENT_FUNCTION_II(10, Mahmud, function10, ObjectIndex, bool)
break;
case kActionDefault:
- getSound()->playSound(kEntityMahmud, params->param2 ? "MAH1170A" : "MAH1173", SoundManager::kFlagInvalid, 45);
+ getSound()->playSound(kEntityMahmud, params->param2 ? "MAH1170A" : "MAH1173", kFlagInvalid, 45);
getProgress().field_C4 = 1;
setCallback(1);