diff options
author | Eugene Sandulenko | 2019-12-22 13:24:30 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2019-12-22 13:24:30 +0100 |
commit | bfba1d28b79a95bd19a9a6282f371ef614ee427a (patch) | |
tree | eaa0d218fc039e7ed27526e96daae28eebd9f347 /engines/director | |
parent | e708816aaedb6074603d8ba1c187685262127196 (diff) | |
download | scummvm-rg350-bfba1d28b79a95bd19a9a6282f371ef614ee427a.tar.gz scummvm-rg350-bfba1d28b79a95bd19a9a6282f371ef614ee427a.tar.bz2 scummvm-rg350-bfba1d28b79a95bd19a9a6282f371ef614ee427a.zip |
DIRECTOR: Improved debug output
Diffstat (limited to 'engines/director')
-rw-r--r-- | engines/director/frame.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/director/frame.cpp b/engines/director/frame.cpp index 5235342124..23454b2a2f 100644 --- a/engines/director/frame.cpp +++ b/engines/director/frame.cpp @@ -600,10 +600,10 @@ void Frame::renderSprites(Graphics::ManagedSurface &surface, bool renderTrail) { } else { if (!_vm->getCurrentScore()->_castTypes.contains(_sprites[i]->_castId)) { if (!_vm->getSharedCastTypes()->contains(_sprites[i]->_castId)) { - warning("Cast id %d not found", _sprites[i]->_castId); + warning("Frame::renderSprites(): Cast id %d not found", _sprites[i]->_castId); continue; } else { - warning("Getting cast id %d from shared cast", _sprites[i]->_castId); + warning("Frame::renderSprites(): Getting cast id %d from shared cast", _sprites[i]->_castId); castType = _vm->getSharedCastTypes()->getVal(_sprites[i]->_castId); } } else { @@ -621,7 +621,7 @@ void Frame::renderSprites(Graphics::ManagedSurface &surface, bool renderTrail) { renderButton(surface, i); } else { if (!_sprites[i]->_bitmapCast) { - warning("No cast ID for sprite %d", i); + warning("Frame::renderSprites(): No cast ID for sprite %d", i); continue; } |