aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/cge.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cge/cge.cpp')
-rw-r--r--engines/cge/cge.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/cge/cge.cpp b/engines/cge/cge.cpp
index c06e65491d..603352d8a0 100644
--- a/engines/cge/cge.cpp
+++ b/engines/cge/cge.cpp
@@ -110,6 +110,7 @@ void CGEEngine::setup() {
_miniCave = NULL;
_miniShp = NULL;
_miniShpList = NULL;
+ _sprite = NULL;
// Create debugger console
_console = new CGEConsole(this);
@@ -130,8 +131,6 @@ void CGEEngine::setup() {
_pocket[i] = new Sprite(this, NULL);
_pocket[i]->_flags._kill = false;
}
- _sprite = new Sprite(this, NULL);
- _sprite->_flags._kill = false;
_horzLine = new HorizLine(this);
_infoLine = new InfoLine(this, kInfoW);
_cavLight = new CavLight(this);