[Scummvm-git-logs] scummvm master -> 09be9b2c2dbcacc4797c5b431307301466a2dc94

bgK bastien.bouclet at gmail.com
Tue Aug 8 20:11:36 CEST 2017


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
09be9b2c2d MOHAWK: Myst: Fix off by one pixel map position when rotating the tower


Commit: 09be9b2c2dbcacc4797c5b431307301466a2dc94
    https://github.com/scummvm/scummvm/commit/09be9b2c2dbcacc4797c5b431307301466a2dc94
Author: Bastien Bouclet (bastien.bouclet at gmail.com)
Date: 2017-08-08T20:11:22+02:00

Commit Message:
MOHAWK: Myst: Fix off by one pixel map position when rotating the tower

Fixes #10081.

Changed paths:
    engines/mohawk/myst_stacks/myst.cpp


diff --git a/engines/mohawk/myst_stacks/myst.cpp b/engines/mohawk/myst_stacks/myst.cpp
index 3ef0a99..1ee8420 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);





More information about the Scummvm-git-logs mailing list