aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.cpp4
-rw-r--r--scummvm.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/init.cpp b/init.cpp
index 1f51baf3fe..050b3b5903 100644
--- a/init.cpp
+++ b/init.cpp
@@ -27,9 +27,11 @@
Scumm::Scumm (void) {
_newgui = new NewGui(this);
+ _bundle = new Bundle(this);
}
Scumm::~Scumm (void) {
delete [] _actors;
delete _newgui;
-} \ No newline at end of file
+ delete _bundle;
+}
diff --git a/scummvm.cpp b/scummvm.cpp
index b82b9a173e..d1c60cc260 100644
--- a/scummvm.cpp
+++ b/scummvm.cpp
@@ -84,7 +84,6 @@ void Scumm::scummInit()
setShake(0);
setupCursor();
- _bundle = new Bundle(this);
/* Allocate and initilise actors */
_actors = new Actor[MAX_ACTORS];
for (i = 1, a = getFirstActor(); ++a, i < NUM_ACTORS; i++) {
@@ -1583,7 +1582,6 @@ void Scumm::go() {
launch();
setupGUIColors();
mainRun();
- delete _bundle;
}