diff --git a/init.cpp b/init.cpp index 1f51baf3fe6..050b3b5903c 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 b82b9a173e7..d1c60cc2609 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; }