aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/events.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2011-07-10 14:51:22 +1000
committerPaul Gilbert2011-07-10 14:51:22 +1000
commit1870f09d3131ea6b9e2646343e5191cda614b49b (patch)
tree3d76e2b5836b8cfc263553d5db834978727e26b6 /engines/cge/events.cpp
parentef83c248d386ec75b4e3ddf3d1178e82a38b6b76 (diff)
downloadscummvm-rg350-1870f09d3131ea6b9e2646343e5191cda614b49b.tar.gz
scummvm-rg350-1870f09d3131ea6b9e2646343e5191cda614b49b.tar.bz2
scummvm-rg350-1870f09d3131ea6b9e2646343e5191cda614b49b.zip
CGE: Fix several allocation mismatches and Valgrind issues
Diffstat (limited to 'engines/cge/events.cpp')
-rw-r--r--engines/cge/events.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cge/events.cpp b/engines/cge/events.cpp
index 6168dd15a8..71110c4067 100644
--- a/engines/cge/events.cpp
+++ b/engines/cge/events.cpp
@@ -154,7 +154,7 @@ Mouse::Mouse(CGEEngine *vm) : Sprite(vm, NULL), _busy(NULL), _hold(NULL), _hx(0)
_buttons = 0;
_busy = NULL;
_active = false;
-
+ _flags._kill = true;
setSeq(ms);
BMP_PTR *MC = new BMP_PTR[3];