aboutsummaryrefslogtreecommitdiff
path: root/engines/cge
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cge')
-rw-r--r--engines/cge/cge.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cge/cge.cpp b/engines/cge/cge.cpp
index 7eeb20bebb..df40db55e6 100644
--- a/engines/cge/cge.cpp
+++ b/engines/cge/cge.cpp
@@ -58,6 +58,7 @@ CGEEngine::CGEEngine(OSystem *syst, const ADGameDescription *gameDescription)
void CGEEngine::setup() {
// Initialise fields
_lastFrame = 0;
+ _hero = NULL;
// Create debugger console
_console = new CGEConsole(this);
@@ -72,7 +73,6 @@ void CGEEngine::setup() {
_text = new Text(this, progName(), 128);
_vga = new Vga(M13H);
_heart = new Heart;
- _hero = new WALK(this, NULL);
_sys = new System(this);
_pocLight = new Sprite(this, LI);
for (int i = 0; i < POCKET_NX; i++)