Skip to content

Commit

Permalink
SHERLOCK: RT: Further fixes for credits display
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Jul 22, 2015
1 parent 15c8917 commit 4e5c8d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engines/sherlock/tattoo/tattoo.cpp
Expand Up @@ -260,7 +260,7 @@ void TattooEngine::drawCredits() {

for (uint idx = 0; idx < _creditLines.size() && _creditLines[idx]._position.y < _screen->h(); ++idx) {
if (screenRect.contains(_creditLines[idx]._position)) {
if (_creditLines[idx]._position.x >= 65536) {
if (!_creditLines[idx]._line2.empty()) {
int x1 = _creditLines[idx]._position.x;
int x2 = x1 + _creditLines[idx]._xOffset;
const Common::String &line1 = _creditLines[idx]._line;
Expand Down Expand Up @@ -394,7 +394,7 @@ void TattooEngine::doHangManPuzzle() {
lines[line].x += paperBounds.left;
lines[line].y += paperBounds.top;

for (i = 0; i <= numWide; ++i)
for (i = 0; i <= (size_t)numWide; ++i)
answers[line][i] = 0;
}

Expand Down

0 comments on commit 4e5c8d3

Please sign in to comment.