aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/myst_stacks
diff options
context:
space:
mode:
authorBastien Bouclet2017-08-08 20:10:22 +0200
committerBastien Bouclet2017-08-08 20:11:22 +0200
commit09be9b2c2dbcacc4797c5b431307301466a2dc94 (patch)
tree036666f9281abf1c1dd9c3bc10a991c22c260d7b /engines/mohawk/myst_stacks
parenta751ad5530b991b92d36c04adff14410156c907a (diff)
downloadscummvm-rg350-09be9b2c2dbcacc4797c5b431307301466a2dc94.tar.gz
scummvm-rg350-09be9b2c2dbcacc4797c5b431307301466a2dc94.tar.bz2
scummvm-rg350-09be9b2c2dbcacc4797c5b431307301466a2dc94.zip
MOHAWK: Myst: Fix off by one pixel map position when rotating the tower
Fixes #10081.
Diffstat (limited to 'engines/mohawk/myst_stacks')
-rw-r--r--engines/mohawk/myst_stacks/myst.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mohawk/myst_stacks/myst.cpp b/engines/mohawk/myst_stacks/myst.cpp
index 3ef0a99822..1ee8420472 100644
--- a/engines/mohawk/myst_stacks/myst.cpp
+++ b/engines/mohawk/myst_stacks/myst.cpp
@@ -3117,9 +3117,9 @@ void Myst::towerRotationMapDrawLine(const Common::Point &center, const Common::P
Common::Rect src;
src.left = rect.left;
- src.top = 333 - rect.bottom;
+ src.top = 332 - rect.bottom;
src.right = rect.right;
- src.bottom = 333 - rect.top;
+ src.bottom = 332 - rect.top;
// Redraw background
_vm->_gfx->copyImageSectionToBackBuffer(_vm->getCardBackgroundId(), src, rect);