diff options
author | Eugene Sandulenko | 2016-08-03 17:29:42 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-03 23:40:36 +0200 |
commit | 0aba35e2662d15e635d495a33a217ac21113afdb (patch) | |
tree | 3736eb2672a80dc0bf6a12e6d62389df83f8bf18 | |
parent | d9cf5af9f0c66a582ca9efba744df8fc34310c67 (diff) | |
download | scummvm-rg350-0aba35e2662d15e635d495a33a217ac21113afdb.tar.gz scummvm-rg350-0aba35e2662d15e635d495a33a217ac21113afdb.tar.bz2 scummvm-rg350-0aba35e2662d15e635d495a33a217ac21113afdb.zip |
DIRECTOR: More debug output
-rw-r--r-- | engines/director/score.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/director/score.cpp b/engines/director/score.cpp index becf03585b..51c70ab93f 100644 --- a/engines/director/score.cpp +++ b/engines/director/score.cpp @@ -657,7 +657,7 @@ void Score::loadFontMap(Common::SeekableSubReadStreamEndian &stream) { } _fontMap[id] = font; - debug(3, "ID %d Font %s", id, font.c_str()); + debug(3, "Fontmap. ID %d Font %s", id, font.c_str()); currentRawPosition = stream.pos(); stream.seek(positionInfo); } @@ -1435,7 +1435,7 @@ void Frame::renderText(Graphics::ManagedSurface &surface, uint16 spriteID) { const Graphics::Font *font = FontMan.getFontByName(_vm->_currentScore->_fontMap[textCast->fontId]); if (!font) { - error("Cannot load font %s", _vm->_currentScore->_fontMap[textCast->fontId].c_str()); + error("Cannot load font '%s', id %d", _vm->_currentScore->_fontMap[textCast->fontId].c_str(), textCast->fontId); } font->drawString(&surface, text, x, y, width, 0); |