aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/cge.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2011-07-15 22:56:49 +1000
committerPaul Gilbert2011-07-15 22:56:49 +1000
commit453fbb7454b5e6d517febd29aea4e589c44247bf (patch)
tree2b76e60745b02246b5f216a9f20c9ca6e2f7ece1 /engines/cge/cge.cpp
parent4dd65c5e57df55edfabe4e71e487f164a9c5b150 (diff)
downloadscummvm-rg350-453fbb7454b5e6d517febd29aea4e589c44247bf.tar.gz
scummvm-rg350-453fbb7454b5e6d517febd29aea4e589c44247bf.tar.bz2
scummvm-rg350-453fbb7454b5e6d517febd29aea4e589c44247bf.zip
CGE: Bugfixes for loading the room preview shapes list
Diffstat (limited to 'engines/cge/cge.cpp')
-rw-r--r--engines/cge/cge.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/cge/cge.cpp b/engines/cge/cge.cpp
index e192774f45..5c1bf2caf0 100644
--- a/engines/cge/cge.cpp
+++ b/engines/cge/cge.cpp
@@ -36,6 +36,7 @@
#include "cge/text.h"
#include "cge/vol.h"
#include "cge/walk.h"
+#include "cge/startup.h"
namespace CGE {
@@ -95,6 +96,7 @@ void CGEEngine::setup() {
_eventManager = new EventManager();
_offUseCount = atoi(_text->getText(OFF_USE_COUNT));
_music = true;
+ _mini = new byte[MINI_EMM_SIZE];
for (int i = 0; i < POCKET_NX; i++)
_pocref[i] = -1;
@@ -160,6 +162,7 @@ CGEEngine::~CGEEngine() {
delete _snail;
delete _snail_;
delete _hero;
+ delete[] _mini;
}
Common::Error CGEEngine::run() {