diff options
author | Max Horn | 2002-11-20 13:20:39 +0000 |
---|---|---|
committer | Max Horn | 2002-11-20 13:20:39 +0000 |
commit | ab80fbde9a4496cebda32bafe0f2c758865149b8 (patch) | |
tree | 8bdffefef0cc99066d726ce164b8c8ea3d56e8f2 | |
parent | 94db771a02205344c90e6010cc31578be479bf09 (diff) | |
download | scummvm-rg350-ab80fbde9a4496cebda32bafe0f2c758865149b8.tar.gz scummvm-rg350-ab80fbde9a4496cebda32bafe0f2c758865149b8.tar.bz2 scummvm-rg350-ab80fbde9a4496cebda32bafe0f2c758865149b8.zip |
partial fix for bug #613109
svn-id: r5639
-rw-r--r-- | scumm/string.cpp | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/scumm/string.cpp b/scumm/string.cpp index a7c6aa85b9..f31c25e7cb 100644 --- a/scumm/string.cpp +++ b/scumm/string.cpp @@ -171,14 +171,9 @@ void Scumm::unkMessage2() if (_string[3].color == 0) _string[3].color = 4; -// if (_gameId == GID_MONKEY_VGA) {FIXME why was this game check added? - - InfoDialog* dialog = new InfoDialog(_newgui, this, (char*)buf); - runDialog (dialog); - delete dialog; -// } else { -// printf("unkMessage2: %s\n", buf); -// } + InfoDialog* dialog = new InfoDialog(_newgui, this, (char*)buf); + runDialog (dialog); + delete dialog; _messagePtr = tmp; } @@ -891,7 +886,7 @@ void Scumm::initCharset(int charsetno) } void CharsetRenderer::printCharOld(int chr) -{ // Loom3 / Zak256 +{ // Indy3 / Zak256 VirtScreen *vs; byte *char_ptr, *dest_ptr; unsigned int buffer = 0, mask = 0, x = 0, y = 0; @@ -1131,6 +1126,10 @@ int CharsetRenderer::getSpacing(byte chr, byte *charset) } } + // FIXME - this fixes the inventory icons in Zak256, see bug #613109 + if (_vm->_gameId == GID_ZAK256 && (chr==3 || chr==4)) + spacing = 6; + return spacing; } |