aboutsummaryrefslogtreecommitdiff
path: root/engines/cine/main_loop.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2006-11-08 21:46:57 +0000
committerEugene Sandulenko2006-11-08 21:46:57 +0000
commit5e5bba4397c7440dd04b559e00328e1732f1b971 (patch)
tree7b92c10f6e54b91dd9a160f7d751f44531503f6e /engines/cine/main_loop.cpp
parentff14e19552e7fb1406071c785dbe3fd4cd40b95e (diff)
downloadscummvm-rg350-5e5bba4397c7440dd04b559e00328e1732f1b971.tar.gz
scummvm-rg350-5e5bba4397c7440dd04b559e00328e1732f1b971.tar.bz2
scummvm-rg350-5e5bba4397c7440dd04b559e00328e1732f1b971.zip
Fix bug #1579776: "FW: Save does not work properly"
svn-id: r24659
Diffstat (limited to 'engines/cine/main_loop.cpp')
-rw-r--r--engines/cine/main_loop.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/cine/main_loop.cpp b/engines/cine/main_loop.cpp
index d35bfaa766..c437033e6f 100644
--- a/engines/cine/main_loop.cpp
+++ b/engines/cine/main_loop.cpp
@@ -30,6 +30,7 @@
#include "cine/object.h"
#include "cine/sfx_player.h"
#include "cine/various.h"
+#include "cine/bg_list.h"
namespace Cine {
@@ -166,7 +167,7 @@ void mainLoop(int bootScriptIdx) {
resetSeqList();
resetglobalScriptsHead();
resetObjectScriptHead();
- mainLoopSub1();
+ resetBgIncrustList();
setTextWindow(0, 0, 20, 200);
@@ -307,7 +308,7 @@ void mainLoop(int bootScriptIdx) {
// if (g_cine->getGameType() == Cine::GType_OS) {
// freeUnkList();
// }
- closeEngine7();
+ freeBgIncrustList();
closePart();
}