aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/tattoo/tattoo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sherlock/tattoo/tattoo.cpp')
-rw-r--r--engines/sherlock/tattoo/tattoo.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/sherlock/tattoo/tattoo.cpp b/engines/sherlock/tattoo/tattoo.cpp
index 57b80ff391..2e78fd5af0 100644
--- a/engines/sherlock/tattoo/tattoo.cpp
+++ b/engines/sherlock/tattoo/tattoo.cpp
@@ -394,7 +394,7 @@ void TattooEngine::doHangManPuzzle() {
lines[line].x += paperBounds.left;
lines[line].y += paperBounds.top;
- for (int i = 0; i <= numWide; ++i)
+ for (i = 0; i <= numWide; ++i)
answers[line][i] = 0;
}
@@ -519,6 +519,9 @@ void TattooEngine::doHangManPuzzle() {
case Common::KEYCODE_DELETE:
answers[line][i] = ' ';
break;
+
+ default:
+ break;
}
}