diff options
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/ea/npchandler.cpp | 9 | ||||
-rw-r--r-- | src/net/eathena/network.h | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/src/net/ea/npchandler.cpp b/src/net/ea/npchandler.cpp index 878a51552..2224de3e0 100644 --- a/src/net/ea/npchandler.cpp +++ b/src/net/ea/npchandler.cpp @@ -193,6 +193,15 @@ void NpcHandler::processNpcCommand(Net::MessageIn &msg) mDialog->itemRequest(invSize); break; } + case 11: // send selected item index + { + int invSize = toInt(id, int); + if (!invSize) + invSize = 1; + if (mDialog) + mDialog->itemIndexRequest(invSize); + break; + } default: UNIMPLIMENTEDPACKET; break; diff --git a/src/net/eathena/network.h b/src/net/eathena/network.h index 12f83c87d..6e794d36d 100644 --- a/src/net/eathena/network.h +++ b/src/net/eathena/network.h @@ -29,7 +29,7 @@ * Protocol version, reported to the eAthena char and mapserver who can adjust * the protocol accordingly. */ -#define CLIENT_PROTOCOL_VERSION 10 +#define CLIENT_PROTOCOL_VERSION 11 namespace EAthena { |