aboutsummaryrefslogtreecommitdiff
path: root/engines/m4
diff options
context:
space:
mode:
authorFilippos Karapetis2008-05-14 19:42:02 +0000
committerFilippos Karapetis2008-05-14 19:42:02 +0000
commite8763e2ac23f1b19bb277961d226e8aced39f7e1 (patch)
treed18dd8094c689ec7613f19e2567a26f591d8e587 /engines/m4
parentb35941c3c2da0b1c184390ee601689cedebdb32c (diff)
downloadscummvm-rg350-e8763e2ac23f1b19bb277961d226e8aced39f7e1.tar.gz
scummvm-rg350-e8763e2ac23f1b19bb277961d226e8aced39f7e1.tar.bz2
scummvm-rg350-e8763e2ac23f1b19bb277961d226e8aced39f7e1.zip
Fixed menu background loading in Riddle of Master Lu
svn-id: r32122
Diffstat (limited to 'engines/m4')
-rw-r--r--engines/m4/m4.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/m4/m4.cpp b/engines/m4/m4.cpp
index 6707639d1c..b2c0eda1ce 100644
--- a/engines/m4/m4.cpp
+++ b/engines/m4/m4.cpp
@@ -396,10 +396,12 @@ int M4Engine::goM4() {
// Show intro
- if (getGameType() == GType_Burger)
+ if (getGameType() == GType_Burger) {
_kernel->newRoom = TITLE_SCENE_BURGER;
- else
+ } else {
_scene->getBackgroundSurface()->loadBackgroundRiddle("main menu");
+ _ws->setBackgroundSurface(_scene->getBackgroundSurface());
+ }
_viewManager->addView(_scene);