aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/cge.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2011-07-01 18:17:58 +1000
committerPaul Gilbert2011-07-01 18:17:58 +1000
commitc982298cbdf8220aa9a8151233e972f2c886c5fc (patch)
treeff1a2d9b9d77beaa7fbc37fcd46b1fb047c098d3 /engines/cge/cge.cpp
parentac86efcd61aafe1ede9933f1d08b86b307de467a (diff)
downloadscummvm-rg350-c982298cbdf8220aa9a8151233e972f2c886c5fc.tar.gz
scummvm-rg350-c982298cbdf8220aa9a8151233e972f2c886c5fc.tar.bz2
scummvm-rg350-c982298cbdf8220aa9a8151233e972f2c886c5fc.zip
CGE: Fix initialisation of the MOUSE class
Diffstat (limited to 'engines/cge/cge.cpp')
-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 c921d7c6ba..e844322e0e 100644
--- a/engines/cge/cge.cpp
+++ b/engines/cge/cge.cpp
@@ -67,7 +67,6 @@ void CGEEngine::setup() {
Hero = new WALK(this, NULL);
Sys = new SYSTEM(this);
_pocLight = new Sprite(this, LI);
- Mouse = new MOUSE(this);
for (int i = 0; i < POCKET_NX; i++)
_pocket[i] = new Sprite(this, NULL);
_sprite = new Sprite(this, NULL);
@@ -97,6 +96,7 @@ void CGEEngine::setup() {
Snail = new SNAIL(this, false);
Snail_ = new SNAIL(this, true);
+ Mouse = new MOUSE(this);
OffUseCount = atoi(Text->getText(OFF_USE_COUNT));
}