summaryrefslogtreecommitdiff
path: root/src/net/ea/npcrecv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea/npcrecv.cpp')
-rw-r--r--src/net/ea/npcrecv.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/net/ea/npcrecv.cpp b/src/net/ea/npcrecv.cpp
index d4c6b3d6b..c447fd5c5 100644
--- a/src/net/ea/npcrecv.cpp
+++ b/src/net/ea/npcrecv.cpp
@@ -202,6 +202,15 @@ void NpcRecv::processNpcCommand(Net::MessageIn &msg)
mDialog->itemIndexRequest(invSize);
break;
}
+ case 12: // send complex items
+ {
+ int invSize = toInt(id, int);
+ if (!invSize)
+ invSize = 1;
+ if (mDialog)
+ mDialog->itemCraftRequest(invSize);
+ break;
+ }
default:
UNIMPLIMENTEDPACKET;
break;