i fixed that though so alex's fault
oh nvm it is my fault
Code:
+ if (GetAsyncKeyState(VK_MENU) < 0) {//cube to stash or stash to cube, or anywhere to cube
+ destinvindex = D2Vars.D2CLIENT_UIModes[UI_STASH] ? 5
+ : D2Vars.D2CLIENT_UIModes[UI_CUBE] ? 6
+ : -2;
+ if (destinvindex == 5) {//dont allow cubeception
+ string szTemp = ExPrecast::GetItemCode(selected_item);
+ if (!szTemp.empty() && szTemp.compare(0, 3, "box") == 0)
+ return (LONG)CallWindowProcA(OldWNDPROC, hWnd, uMsg, wParam, lParam);
+ }
+ }
fixed it ok
Code:
+ if (GetAsyncKeyState(VK_MENU) < 0) {//cube to stash or stash to cube, or anywhere to cube
+ destinvindex = D2Vars.D2CLIENT_UIModes[UI_STASH] ? 5
+ : D2Vars.D2CLIENT_UIModes[UI_CUBE] ? 6
+ : -2;
+ }
+ if (destinvindex == 5) {//dont allow cubeception
+ string szTemp = ExPrecast::GetItemCode(selected_item);
+ if (!szTemp.empty() && szTemp.compare(0, 3, "box") == 0)
+ return (LONG)CallWindowProcA(OldWNDPROC, hWnd, uMsg, wParam, lParam);
+ }