diff options
author | Alyssa Milburn | 2012-08-24 19:15:58 +0200 |
---|---|---|
committer | Alyssa Milburn | 2012-08-25 08:41:21 +0200 |
commit | aa603bc208c6b26e78e66d66a120a24ba80c28c4 (patch) | |
tree | 04c4753c1e6d20262d01c539155d828d8b263287 /engines/tony | |
parent | 7815c0522094b058409974618867d683b86564d1 (diff) | |
download | scummvm-rg350-aa603bc208c6b26e78e66d66a120a24ba80c28c4.tar.gz scummvm-rg350-aa603bc208c6b26e78e66d66a120a24ba80c28c4.tar.bz2 scummvm-rg350-aa603bc208c6b26e78e66d66a120a24ba80c28c4.zip |
TONY: Mark screen dirty in RMGfxClearTask.
This fixes the "A LONG TIME AFTER..." screen when talking to the old
woman in the booth. Thanks to eriktorbjorn for noticing it.
Diffstat (limited to 'engines/tony')
-rw-r--r-- | engines/tony/gfxcore.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/tony/gfxcore.cpp b/engines/tony/gfxcore.cpp index 06c74dd231..27b90b7d48 100644 --- a/engines/tony/gfxcore.cpp +++ b/engines/tony/gfxcore.cpp @@ -2057,6 +2057,7 @@ int RMGfxClearTask::priority() { void RMGfxClearTask::draw(CORO_PARAM, RMGfxTargetBuffer &bigBuf, RMGfxPrimitive *) { // Clean the target buffer Common::fill((byte *)bigBuf, (byte *)bigBuf + (bigBuf.getDimx() * bigBuf.getDimy() * 2), 0x0); + bigBuf.addDirtyRect(Common::Rect(bigBuf.getDimx(), bigBuf.getDimy())); } void RMGfxClearTask::removeThis(CORO_PARAM, bool &result) { |