diff options
author | Eugene Sandulenko | 2017-03-01 09:17:19 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2017-03-01 10:50:35 +0100 |
commit | e7842795fe257dd465b2d5e36d71abed77edc244 (patch) | |
tree | 58994cc5b86bec3b35ffe12d74b9ff3f40d17c9e /engines/director | |
parent | dbdacf4e7f1b2f78975dfda4fcac7442270ed007 (diff) | |
download | scummvm-rg350-e7842795fe257dd465b2d5e36d71abed77edc244.tar.gz scummvm-rg350-e7842795fe257dd465b2d5e36d71abed77edc244.tar.bz2 scummvm-rg350-e7842795fe257dd465b2d5e36d71abed77edc244.zip |
DIRECTOR: Fix debug output
Diffstat (limited to 'engines/director')
-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 aa4828ead7..c72fc0cf8f 100644 --- a/engines/director/score.cpp +++ b/engines/director/score.cpp @@ -240,7 +240,7 @@ void Score::loadFrames(Common::SeekableSubReadStreamEndian &stream) { while (size != 0) { uint16 frameSize = stream.readUint16(); - debugC(kDebugLoading, 8, "++++ score frame %d (frameSize %d) size %d", _frames.size() + 1, frameSize, size); + debugC(kDebugLoading, 8, "++++ score frame %d (frameSize %d) size %d", _frames.size(), frameSize, size); size -= frameSize; frameSize -= 2; @@ -993,7 +993,7 @@ void Score::processEvents() { // D3 doesn't have both mouse up and down. // But we still want to know if the mouse is down for press effects. _currentMouseDownSpriteId = _frames[_currentFrame]->getSpriteIDFromPos(pos); - + if (_vm->getVersion() > 3) { // TODO: check that this is the order of script execution! _lingo->processEvent(kEventMouseDown, kCastScript, _frames[_currentFrame]->_sprites[_currentMouseDownSpriteId]->_castId); |