aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/cge/cge_main.cpp1
-rw-r--r--engines/cge/vga13h.cpp3
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/cge/cge_main.cpp b/engines/cge/cge_main.cpp
index 6f741f1598..ed5ee8eeb1 100644
--- a/engines/cge/cge_main.cpp
+++ b/engines/cge/cge_main.cpp
@@ -247,6 +247,7 @@ void CGEEngine::loadGame(XFile &file, bool tiny = false) {
for (i = 0; i < POCKET_NX; i++) {
register int r = _pocref[i];
+ delete _pocket[i];
_pocket[i] = (r < 0) ? NULL : _vga->_spareQ->locate(r);
}
}
diff --git a/engines/cge/vga13h.cpp b/engines/cge/vga13h.cpp
index 96642b4540..5bdb50fa9e 100644
--- a/engines/cge/vga13h.cpp
+++ b/engines/cge/vga13h.cpp
@@ -612,10 +612,9 @@ Sprite *Sprite::expand() {
setSeq(seq);
} else
setSeq(getConstantSeq(_shpCnt == 1));
- //disable(); // disable interupt
setShapeList(shplist);
- //enable(); // enable interupt
+
if (nea)
nea[neacnt - 1]._ptr = _ext->_near = nea;
else