diff options
author | Paul Gilbert | 2011-07-13 19:18:23 +1000 |
---|---|---|
committer | Paul Gilbert | 2011-07-13 19:18:23 +1000 |
commit | 6c9719009223947572c8e81fdefe9e4cd17f717f (patch) | |
tree | d27265c2c156410bcfdf773854a990e8590ae93a /engines/cge/cge.cpp | |
parent | 4d0f83babb923527c67157204ba0b8b678b6732a (diff) | |
download | scummvm-rg350-6c9719009223947572c8e81fdefe9e4cd17f717f.tar.gz scummvm-rg350-6c9719009223947572c8e81fdefe9e4cd17f717f.tar.bz2 scummvm-rg350-6c9719009223947572c8e81fdefe9e4cd17f717f.zip |
CGE: Fixed initialising of _shadow that was crashing the intro sequence
Diffstat (limited to 'engines/cge/cge.cpp')
-rw-r--r-- | engines/cge/cge.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/cge/cge.cpp b/engines/cge/cge.cpp index 884af2cd46..527b16d288 100644 --- a/engines/cge/cge.cpp +++ b/engines/cge/cge.cpp @@ -58,6 +58,7 @@ void CGEEngine::setup() { // Initialise fields _lastFrame = 0; _hero = NULL; + _shadow = NULL; // Create debugger console _console = new CGEConsole(this); @@ -81,8 +82,6 @@ void CGEEngine::setup() { _sprite = new Sprite(this, NULL); _miniCave = new Sprite(this, NULL); _miniCave->_flags._kill = false; - _shadow = new Sprite(this, NULL); - _shadow->_flags._kill = false; _horzLine = new HorizLine(this); _infoLine = new InfoLine(this, INFO_W); _cavLight = new CavLight(this); |