# HG changeset patch # User Ritor1 # Date 1379184360 -21600 # Node ID 85a099ea7975684ddddd967180fd8ee4814b38cc # Parent aaefada3e1d8a18111e5d5bb44a14813279623a4 m diff -r aaefada3e1d8 -r 85a099ea7975 mm7_5.cpp --- a/mm7_5.cpp Sun Sep 15 00:41:51 2013 +0600 +++ b/mm7_5.cpp Sun Sep 15 00:46:00 2013 +0600 @@ -4966,12 +4966,12 @@ if (no_rightlick_in_inventory) return; + pMouse->GetCursorPos(&a2); if (a2.x <= 13 || a2.x >= 462) return; auto player = pPlayers[uActiveCharacter]; - pMouse->GetCursorPos(&a2); int item_pid = pRenderer->pActiveZBuffer[a2.x + pSRZBufferLineOffsets[a2.y]] & 0xFFFF; //pMouse->GetClickPos(&pX, &pY); if (!item_pid)