aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/sequences_lol.cpp
diff options
context:
space:
mode:
authorFlorian Kagerer2009-02-16 17:17:15 +0000
committerFlorian Kagerer2009-02-16 17:17:15 +0000
commita43b0bc2dc0bbad04855adf44b948e88a7a4551e (patch)
treec081afd253155c9dc2797bc94b4f35042959b397 /engines/kyra/sequences_lol.cpp
parentc8a3a05a5d83758582e0b89c4646476c535f84b0 (diff)
downloadscummvm-rg350-a43b0bc2dc0bbad04855adf44b948e88a7a4551e.tar.gz
scummvm-rg350-a43b0bc2dc0bbad04855adf44b948e88a7a4551e.tar.bz2
scummvm-rg350-a43b0bc2dc0bbad04855adf44b948e88a7a4551e.zip
LOL: - more work on the user interface
- fixed non interactive demo svn-id: r38374
Diffstat (limited to 'engines/kyra/sequences_lol.cpp')
-rw-r--r--engines/kyra/sequences_lol.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/kyra/sequences_lol.cpp b/engines/kyra/sequences_lol.cpp
index 5ef6ae5f41..b36364d960 100644
--- a/engines/kyra/sequences_lol.cpp
+++ b/engines/kyra/sequences_lol.cpp
@@ -118,6 +118,7 @@ void LoLEngine::showIntro() {
debugC(9, kDebugLevelMain, "LoLEngine::showIntro()");
_tim = new TIMInterpreter(this, _screen, _system);
+ assert(_tim);
uint8 *pal = _screen->getPalette(0);
memset(pal, 0, 768);
@@ -182,6 +183,8 @@ int LoLEngine::chooseCharacter() {
debugC(9, kDebugLevelMain, "LoLEngine::chooseCharacter()");
_tim = new TIMInterpreter(this, _screen, _system);
+ assert(_tim);
+
_tim->setLangData("LOLINTRO.DIP");
_screen->loadFont(Screen::FID_9_FNT, "FONT9P.FNT");