diff options
author | Arnaud Boutonné | 2009-10-07 19:44:10 +0000 |
---|---|---|
committer | Arnaud Boutonné | 2009-10-07 19:44:10 +0000 |
commit | be84af2603979b9464487116f8615b5494f63086 (patch) | |
tree | efade8adf87207820788bb5e5e4388f54b9eb776 /engines | |
parent | 971f495103355c79f726d5c1c3a33b809f46320e (diff) | |
download | scummvm-rg350-be84af2603979b9464487116f8615b5494f63086.tar.gz scummvm-rg350-be84af2603979b9464487116f8615b5494f63086.tar.bz2 scummvm-rg350-be84af2603979b9464487116f8615b5494f63086.zip |
Fix an assert in activeWin().
svn-id: r44746
Diffstat (limited to 'engines')
-rw-r--r-- | engines/gob/draw.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/gob/draw.cpp b/engines/gob/draw.cpp index 6a7f53a91e..e05de98f9f 100644 --- a/engines/gob/draw.cpp +++ b/engines/gob/draw.cpp @@ -582,16 +582,14 @@ void Draw::activeWin (int16 id) { _fascinWin[t[j]].height - 1, _fascinWin[t[j]].left, _fascinWin[t[j]].top, 0); else { -// Strangerke not sure concerning the use of _sourceSurface // Shift skipped as always set to zero (?) - _vm->_video->drawSprite(*_spritesArray[_sourceSurface], *_spritesArray[_destSurface], + _vm->_video->drawSprite(*_spritesArray[_destSurface], *_spritesArray[_destSurface], _fascinWin[t[j]].left, _fascinWin[t[j]].top, _fascinWin[t[j]].left + _fascinWin[t[j]].width - 1, _fascinWin[t[j]].top + _fascinWin[t[j]].height - 1, _fascinWin[t[j]].left, _fascinWin[t[j]].top, 0); } -// Strangerke not sure concerning the use of _sourceSurface - dirtiedRect(_sourceSurface, _fascinWin[t[j]].left, _fascinWin[t[j]].top, + dirtiedRect(_destSurface, _fascinWin[t[j]].left, _fascinWin[t[j]].top, _fascinWin[t[j]].left + _fascinWin[t[j]].width - 1, _fascinWin[t[j]].top + _fascinWin[t[j]].height - 1); nextId = t2[j]; |