aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2007-09-23 22:29:05 +0000
committerJohannes Schickel2007-09-23 22:29:05 +0000
commitef986e2222f5e64f47eae392ecdc6aa8fdf8a98d (patch)
treeb712a46a97eb8384ab9b982f2123033129c1d58a /engines
parentb4cff6b9bdda3c1d30af9f919a3698b57172522c (diff)
downloadscummvm-rg350-ef986e2222f5e64f47eae392ecdc6aa8fdf8a98d.tar.gz
scummvm-rg350-ef986e2222f5e64f47eae392ecdc6aa8fdf8a98d.tar.bz2
scummvm-rg350-ef986e2222f5e64f47eae392ecdc6aa8fdf8a98d.zip
Init _screen for kyra3. Menu + Intro should be working again.
svn-id: r29074
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/kyra_v3.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/kyra/kyra_v3.cpp b/engines/kyra/kyra_v3.cpp
index 9aa4b1f4da..c620d7d269 100644
--- a/engines/kyra/kyra_v3.cpp
+++ b/engines/kyra/kyra_v3.cpp
@@ -88,6 +88,11 @@ KyraEngine_v3::~KyraEngine_v3() {
}
int KyraEngine_v3::init() {
+ _screen = new Screen_v2(this, _system);
+ assert(_screen);
+ if (!_screen->init())
+ error("_screen->init() failed");
+
KyraEngine::init();
gui_initMainMenu();