diff options
author | Martin Kiewitz | 2010-07-24 10:12:56 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-07-24 10:12:56 +0000 |
commit | 9672c757d6e86c98ce968008f1b04f5adda443fc (patch) | |
tree | 989047b30df8e12d5dd675afdd4a562a8f4108f6 | |
parent | c8dc2e4b8b9b82e9eeb2d3dabedc125bbb6818df (diff) | |
download | scummvm-rg350-9672c757d6e86c98ce968008f1b04f5adda443fc.tar.gz scummvm-rg350-9672c757d6e86c98ce968008f1b04f5adda443fc.tar.bz2 scummvm-rg350-9672c757d6e86c98ce968008f1b04f5adda443fc.zip |
SCI: adding 1 to planeRect bottom/right
svn-id: r51241
-rw-r--r-- | engines/sci/graphics/frameout.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/graphics/frameout.cpp b/engines/sci/graphics/frameout.cpp index 04ed0ec739..d92f6ed1be 100644 --- a/engines/sci/graphics/frameout.cpp +++ b/engines/sci/graphics/frameout.cpp @@ -138,8 +138,8 @@ void GfxFrameout::kernelFrameout() { Common::Rect planeRect; planeRect.top = readSelectorValue(_segMan, planeObject, SELECTOR(top)); planeRect.left = readSelectorValue(_segMan, planeObject, SELECTOR(left)); - planeRect.bottom = readSelectorValue(_segMan, planeObject, SELECTOR(bottom)); - planeRect.right = readSelectorValue(_segMan, planeObject, SELECTOR(right)); + planeRect.bottom = readSelectorValue(_segMan, planeObject, SELECTOR(bottom)) + 1; + planeRect.right = readSelectorValue(_segMan, planeObject, SELECTOR(right)) + 1; int16 planeResY = readSelectorValue(_segMan, planeObject, SELECTOR(resY)); int16 planeResX = readSelectorValue(_segMan, planeObject, SELECTOR(resX)); |