aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/tattoo
diff options
context:
space:
mode:
authorPaul Gilbert2015-11-16 19:10:22 -0500
committerPaul Gilbert2015-11-16 19:10:22 -0500
commit9b17bf31d44c32b338c8b6a307666320090e9030 (patch)
tree78ef932d0b3e073e0cf6e2383099c1f60d456bfa /engines/sherlock/tattoo
parente3f81c267b5ef08838734baa31e84bec9ee7fb3d (diff)
downloadscummvm-rg350-9b17bf31d44c32b338c8b6a307666320090e9030.tar.gz
scummvm-rg350-9b17bf31d44c32b338c8b6a307666320090e9030.tar.bz2
scummvm-rg350-9b17bf31d44c32b338c8b6a307666320090e9030.zip
SHERLOCK: Fix Coverity warnings about uninitialized fields
Diffstat (limited to 'engines/sherlock/tattoo')
-rw-r--r--engines/sherlock/tattoo/tattoo_darts.cpp1
-rw-r--r--engines/sherlock/tattoo/widget_base.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/engines/sherlock/tattoo/tattoo_darts.cpp b/engines/sherlock/tattoo/tattoo_darts.cpp
index 274d80e3e1..512358933d 100644
--- a/engines/sherlock/tattoo/tattoo_darts.cpp
+++ b/engines/sherlock/tattoo/tattoo_darts.cpp
@@ -70,6 +70,7 @@ Darts::Darts(SherlockEngine *vm) : _vm(vm) {
_handX = 0;
_compPlay = 1;
_escapePressed = false;
+ _spacing = 0;
}
void Darts::playDarts(GameType gameType) {
diff --git a/engines/sherlock/tattoo/widget_base.cpp b/engines/sherlock/tattoo/widget_base.cpp
index 9e10cee0d1..8f0649130a 100644
--- a/engines/sherlock/tattoo/widget_base.cpp
+++ b/engines/sherlock/tattoo/widget_base.cpp
@@ -33,6 +33,7 @@ namespace Tattoo {
WidgetBase::WidgetBase(SherlockEngine *vm) : _vm(vm) {
_scroll = false;
_dialogTimer = 0;
+ _outsideMenu = false;
}
void WidgetBase::summonWindow() {