aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel/tinsel.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2010-11-01 20:59:17 +0000
committerFilippos Karapetis2010-11-01 20:59:17 +0000
commit7f1a9699fa2489955f3839ccbd8dddad97d864ff (patch)
tree22bc480cc71774b2cc660f8bd1e821c7601f3e49 /engines/tinsel/tinsel.cpp
parentff01247526eace2c1eff32e3a9c3e46293406319 (diff)
downloadscummvm-rg350-7f1a9699fa2489955f3839ccbd8dddad97d864ff.tar.gz
scummvm-rg350-7f1a9699fa2489955f3839ccbd8dddad97d864ff.tar.bz2
scummvm-rg350-7f1a9699fa2489955f3839ccbd8dddad97d864ff.zip
TINSEL: Fixed two places that weren't reset when exiting to the launcher and reentering the game. There could be (and most likely are) others as well
svn-id: r54028
Diffstat (limited to 'engines/tinsel/tinsel.cpp')
-rw-r--r--engines/tinsel/tinsel.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/tinsel/tinsel.cpp b/engines/tinsel/tinsel.cpp
index bb6ed99138..049870a20e 100644
--- a/engines/tinsel/tinsel.cpp
+++ b/engines/tinsel/tinsel.cpp
@@ -80,6 +80,7 @@ namespace Tinsel {
// In BG.CPP
extern void SetDoFadeIn(bool tf);
extern void DropBackground();
+extern BACKGND *pCurBgnd;
// In CURSOR.CPP
extern void CursorProcess(CORO_PARAM, const void *);
@@ -1033,6 +1034,9 @@ Common::Error TinselEngine::run() {
// Write configuration
_vm->_config->writeToDisk();
+ EndScene();
+ pCurBgnd = NULL;
+
return Common::kNoError;
}