Skip to content

Commit

Permalink
SHERLOCK: RT: Fix compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Jul 22, 2015
1 parent aad99b7 commit 15c8917
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 4 additions & 1 deletion engines/sherlock/tattoo/tattoo.cpp
Expand Up @@ -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;
}

Expand Down Expand Up @@ -519,6 +519,9 @@ void TattooEngine::doHangManPuzzle() {
case Common::KEYCODE_DELETE:
answers[line][i] = ' ';
break;

default:
break;
}
}

Expand Down
1 change: 0 additions & 1 deletion engines/sherlock/tattoo/tattoo_user_interface.cpp
Expand Up @@ -648,7 +648,6 @@ void TattooUserInterface::setupBGArea(const byte cMap[PALETTE_SIZE]) {
}
}


void TattooUserInterface::doBgAnimEraseBackground() {
TattooEngine &vm = *((TattooEngine *)_vm);
People &people = *_vm->_people;
Expand Down

0 comments on commit 15c8917

Please sign in to comment.