[Scummvm-git-logs] scummvm master -> 3996676c458a712aa128b1e71338e52cbe7df890

Strangerke Strangerke at scummvm.org
Sun Sep 22 14:04:29 CEST 2019


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:
3996676c45 HDB: Fix issue in stylusDown


Commit: 3996676c458a712aa128b1e71338e52cbe7df890
    https://github.com/scummvm/scummvm/commit/3996676c458a712aa128b1e71338e52cbe7df890
Author: Strangerke (strangerke at scummvm.org)
Date: 2019-09-22T14:01:51+02:00

Commit Message:
HDB: Fix issue in stylusDown

Changed paths:
    engines/hdb/input.cpp


diff --git a/engines/hdb/input.cpp b/engines/hdb/input.cpp
index 09aa5d9..7a45c2e 100644
--- a/engines/hdb/input.cpp
+++ b/engines/hdb/input.cpp
@@ -352,7 +352,7 @@ void Input::stylusDown(int x, int y) {
 			int mx, my;
 			g_hdb->_map->getMapXY(&mx, &my);
 
-			mx = ((mx + _stylusDownY) / kTileWidth) * kTileWidth;
+			mx = ((mx + _stylusDownX) / kTileWidth) * kTileWidth;
 			my = ((my + _stylusDownY) / kTileHeight) * kTileHeight;
 			g_hdb->_ai->setPlayerXY(mx, my);
 





More information about the Scummvm-git-logs mailing list