aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2008-12-25 03:00:24 +0000
committerJohannes Schickel2008-12-25 03:00:24 +0000
commitbe777935f0df7c6d759fc84bfa0b08925f5c2502 (patch)
tree488981280aa6fcb406eae6a2c9bbd41c5cf878ab /engines
parent45529628e17a0425a7559aa5787e55886d90fc5d (diff)
downloadscummvm-rg350-be777935f0df7c6d759fc84bfa0b08925f5c2502.tar.gz
scummvm-rg350-be777935f0df7c6d759fc84bfa0b08925f5c2502.tar.bz2
scummvm-rg350-be777935f0df7c6d759fc84bfa0b08925f5c2502.zip
Fixed valgrind warning.
svn-id: r35534
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/kyra_v1.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/kyra/kyra_v1.cpp b/engines/kyra/kyra_v1.cpp
index b2682fb385..98bb25be9f 100644
--- a/engines/kyra/kyra_v1.cpp
+++ b/engines/kyra/kyra_v1.cpp
@@ -67,6 +67,8 @@ KyraEngine_v1::KyraEngine_v1(OSystem *system, const GameFlags &flags)
_isSaveAllowed = false;
+ _mouseX = _mouseY = 0;
+
// sets up all engine specific debug levels
Common::addSpecialDebugLevel(kDebugLevelScriptFuncs, "ScriptFuncs", "Script function debug level");
Common::addSpecialDebugLevel(kDebugLevelScript, "Script", "Script interpreter debug level");