diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hdb/input.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hdb/input.cpp b/engines/hdb/input.cpp index 09aa5d9599..7a45c2ef1e 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); |