diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-08-11 11:40:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-08-11 15:02:25 +0300 |
commit | 5001fa194c820422dd5de2dd655c17bde131e1cb (patch) | |
tree | 0f8b0ad59277055c0f94591f64a1367bba558cca /src/net/tmwa/npchandler.cpp | |
parent | 51a4bf586930fee4df788bef5b6cc350e10cc005 (diff) | |
download | plus-5001fa194c820422dd5de2dd655c17bde131e1cb.tar.gz plus-5001fa194c820422dd5de2dd655c17bde131e1cb.tar.bz2 plus-5001fa194c820422dd5de2dd655c17bde131e1cb.tar.xz plus-5001fa194c820422dd5de2dd655c17bde131e1cb.zip |
add support for giving item to npc (evol only)
chancge network version to 9.
Diffstat (limited to 'src/net/tmwa/npchandler.cpp')
-rw-r--r-- | src/net/tmwa/npchandler.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/tmwa/npchandler.cpp b/src/net/tmwa/npchandler.cpp index ddbc6a220..7bdf671a4 100644 --- a/src/net/tmwa/npchandler.cpp +++ b/src/net/tmwa/npchandler.cpp @@ -318,6 +318,10 @@ void NpcHandler::processNpcCommand(Net::MessageIn &msg, const int npcId) if (mDialog) mDialog->clearRows(); break; + case 10: // send selected item id + if (mDialog) + mDialog->itemRequest(); + break; default: logger->log("unknown npc command: %d", cmd); |