diff options
author | Paul Gilbert | 2011-07-05 21:07:14 +1000 |
---|---|---|
committer | Paul Gilbert | 2011-07-05 21:07:14 +1000 |
commit | 44490c378dd78f8a51203ca8c3d45126bbd9fd08 (patch) | |
tree | d0b9fa933c68d11a8df25387111df1a9e1dc877c | |
parent | 41c7482a525951407dfa09b9793eeef140f21979 (diff) | |
download | scummvm-rg350-44490c378dd78f8a51203ca8c3d45126bbd9fd08.tar.gz scummvm-rg350-44490c378dd78f8a51203ca8c3d45126bbd9fd08.tar.bz2 scummvm-rg350-44490c378dd78f8a51203ca8c3d45126bbd9fd08.zip |
CGE: _hero isn't meant to be instantiated during the engine setup
-rw-r--r-- | engines/cge/cge.cpp | 2 |
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++) |