diff options
Diffstat (limited to 'engines/sherlock/tattoo/tattoo.cpp')
-rw-r--r-- | engines/sherlock/tattoo/tattoo.cpp | 5 |
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; } } |