mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-02 17:03:13 +00:00
HDB: Fix issue in stylusDown
This commit is contained in:
parent
80370016f6
commit
3996676c45
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user