diff options
-rw-r--r-- | engines/sherlock/tattoo/tattoo.cpp | 5 | ||||
-rw-r--r-- | engines/sherlock/tattoo/tattoo_user_interface.cpp | 1 |
2 files changed, 4 insertions, 2 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; } } diff --git a/engines/sherlock/tattoo/tattoo_user_interface.cpp b/engines/sherlock/tattoo/tattoo_user_interface.cpp index ec1ba131b4..ae09ba5fc7 100644 --- a/engines/sherlock/tattoo/tattoo_user_interface.cpp +++ b/engines/sherlock/tattoo/tattoo_user_interface.cpp @@ -648,7 +648,6 @@ void TattooUserInterface::setupBGArea(const byte cMap[PALETTE_SIZE]) { } } - void TattooUserInterface::doBgAnimEraseBackground() { TattooEngine &vm = *((TattooEngine *)_vm); People &people = *_vm->_people; |