mirror of
https://gitlab.com/hashborgir/d2tweaks-rnd2k.git
synced 2024-11-30 04:35:58 +00:00
Seems to be working
This commit is contained in:
parent
8f5c45d1c5
commit
4d8fe9b2e2
@ -1051,7 +1051,9 @@ LRESULT d2_tweaks::ui::ui_manager::wnd_proc(HWND hWnd, UINT msg, WPARAM wParam,
|
||||
char* normCode = record->string_code;
|
||||
|
||||
// if normCode strncmp is equal to "ib1", don't send the item back to inventory
|
||||
if (strncmp(normCode, "ib1", 3) == 1) {
|
||||
if (strncmp(normCode, "ib1", 3) == 0) {
|
||||
continue;
|
||||
} else {
|
||||
// display item guid in a messagebox
|
||||
//MessageBoxA(0, std::to_string(item->guid).c_str(), "Item GUID", 0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user