diff options
-rw-r--r-- | src/net/tmwserv/npchandler.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/tmwserv/npchandler.cpp b/src/net/tmwserv/npchandler.cpp index 9447e2f8..b7bb429c 100644 --- a/src/net/tmwserv/npchandler.cpp +++ b/src/net/tmwserv/npchandler.cpp @@ -48,6 +48,8 @@ NpcHandler::NpcHandler() GPMSG_NPC_MESSAGE, GPMSG_NPC_ERROR, GPMSG_NPC_CLOSE, + GPMSG_NPC_NUMBER, + GPMSG_NPC_STRING, 0 }; handledMessages = _messages; @@ -83,6 +85,10 @@ void NpcHandler::handleMessage(MessageIn &msg) break; } + case GPMSG_NPC_STRING: + npcDialog->textRequest(""); + break; + case GPMSG_NPC_POST: npcDialog->setVisible(false); npcPostDialog->clear(); |