diff options
-rw-r--r-- | init.cpp | 4 | ||||
-rw-r--r-- | scummvm.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -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; } |