From ea4cfda4712ac31326b64ddf9dff61e448aeed28 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Tue, 31 Mar 2009 23:02:12 -0600 Subject: Implement a few more handlers for eAthena Party, skill, and trade handlers made for eAthena. --- src/net/ea/npchandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/ea/npchandler.cpp') diff --git a/src/net/ea/npchandler.cpp b/src/net/ea/npchandler.cpp index 0b9a4cf6..9f9bc6a6 100644 --- a/src/net/ea/npchandler.cpp +++ b/src/net/ea/npchandler.cpp @@ -191,6 +191,6 @@ void NPCHandler::sellItem(int beingId, int itemId, int amount) { MessageOut outMsg(CMSG_NPC_SELL_REQUEST); outMsg.writeInt16(8); // One item (length of packet) - outMsg.writeInt16(itemId + 2); + outMsg.writeInt16(itemId + INVENTORY_OFFSET); outMsg.writeInt16(amount); } -- cgit v1.2.3-70-g09d2