aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2015-10-08 05:08:15 +0300
committerEugene Sandulenko2015-12-15 00:05:02 +0100
commitafa9475d2ad18486203a73869930caff29a40dff (patch)
tree33bf26ce140f2d75f07ef0da89cdae5ac8ec4e16
parent454c02f321660585aa693329c7aa67eaf1f112fe (diff)
downloadscummvm-rg350-afa9475d2ad18486203a73869930caff29a40dff.tar.gz
scummvm-rg350-afa9475d2ad18486203a73869930caff29a40dff.tar.bz2
scummvm-rg350-afa9475d2ad18486203a73869930caff29a40dff.zip
LAB: Some cleanup
-rw-r--r--engines/lab/intro.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/lab/intro.cpp b/engines/lab/intro.cpp
index 5d5f6048ec..4f1720fe23 100644
--- a/engines/lab/intro.cpp
+++ b/engines/lab/intro.cpp
@@ -238,7 +238,7 @@ void musicDelay() {
static void NReadPict(const char *Filename, bool PlayOnce) {
- Common::String finalFileName = "P:Intro/";
+ Common::String finalFileName = Common::String("P:Intro/") + Filename;
g_music->updateMusic();
introEatMessages();
@@ -246,8 +246,6 @@ static void NReadPict(const char *Filename, bool PlayOnce) {
if (QuitIntro)
return;
- finalFileName += Filename;
-
DoBlack = IntroDoBlack;
stopDiffEnd();
readPict(finalFileName.c_str(), PlayOnce);