Seems to be working

This commit is contained in:
Hash Borgir 2024-04-29 04:58:24 -06:00
parent 8f5c45d1c5
commit 4d8fe9b2e2

View File

@ -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);