Skip to content

Commit

Permalink
Fix shift+leftclick identify in PlugY stash
Browse files Browse the repository at this point in the history
  • Loading branch information
Dylan Premo committed Aug 7, 2021
1 parent 3e63bf0 commit bab2322
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BH/Modules/ItemMover/ItemMover.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ void ItemMover::OnLeftClick(bool up, int x, int y, bool* block) {
mouseX = (*p_D2CLIENT_MouseX - INVENTORY_LEFT) / CELL_SIZE;
mouseY = (*p_D2CLIENT_MouseY - INVENTORY_TOP) / CELL_SIZE;
} else if(pItem->pItemData->ItemLocation == STORAGE_STASH) {
mouseX = (*p_D2CLIENT_MouseX - STASH_LEFT) / CELL_SIZE;
mouseX = (*p_D2CLIENT_MouseX - (STASH_LEFT - 2*CELL_SIZE)) / CELL_SIZE;
if (xpac) {
mouseY = (*p_D2CLIENT_MouseY - LOD_STASH_TOP) / CELL_SIZE;
} else {
Expand Down
Binary file modified Release/BH.dll
Binary file not shown.

0 comments on commit bab2322

Please sign in to comment.