diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-03-31 23:02:12 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-03-31 23:02:12 -0600 |
commit | ea4cfda4712ac31326b64ddf9dff61e448aeed28 (patch) | |
tree | 2bff17828862ebed77d44e65729a2d2944602ba9 /src/net/ea/npchandler.cpp | |
parent | 78e67de6f70aab502a85578264b60493a818b39f (diff) | |
download | mana-ea4cfda4712ac31326b64ddf9dff61e448aeed28.tar.gz mana-ea4cfda4712ac31326b64ddf9dff61e448aeed28.tar.bz2 mana-ea4cfda4712ac31326b64ddf9dff61e448aeed28.tar.xz mana-ea4cfda4712ac31326b64ddf9dff61e448aeed28.zip |
Implement a few more handlers for eAthena
Party, skill, and trade handlers made for eAthena.
Diffstat (limited to 'src/net/ea/npchandler.cpp')
-rw-r--r-- | src/net/ea/npchandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |