From 095f43c1495b4fc4d840ee2ecaee9868cf0c8b91 Mon Sep 17 00:00:00 2001 From: SwineFlu Date: Fri, 21 Jun 2024 21:30:27 +0300 Subject: [PATCH] Fix d2 function signature --- D2Ptrs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/D2Ptrs.h b/D2Ptrs.h index 950f036..ed18f08 100644 --- a/D2Ptrs.h +++ b/D2Ptrs.h @@ -97,7 +97,7 @@ FUNCPTR(D2COMMON, AbsScreenToMap, void __stdcall, (long* ptMouseX, long* ptMouse //Functions //1.14d 004B3870 near here. -F2(D2COMMON, ITEMS_GetTransactionCost, int, __stdcall, (Unit* pPlayer, Unit* pItem, uint8_t nDifficulty, BitBuffer* pQuestFlags, int nVendorId, int nTransactionType), -10775 , -10107, 0x22FDC0); +F2(D2COMMON, ITEMS_GetTransactionCost, int, __stdcall, (Unit* pPlayer, Unit* pItem, int nDifficulty, BitBuffer* pQuestFlags, int nVendorId, int nTransactionType), -10775 , -10107, 0x22FDC0); F2(D2COMMON, ITEMS_CheckItemTypeId, BOOL, __stdcall, (Unit* pItem, ItemType nItemType), -10731, -10744, 0x229BB0); //TODO FIND IN 1.14