diff options
Diffstat (limited to 'src/net/ea/npcrecv.cpp')
-rw-r--r-- | src/net/ea/npcrecv.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/ea/npcrecv.cpp b/src/net/ea/npcrecv.cpp index 6129349bd..a73989455 100644 --- a/src/net/ea/npcrecv.cpp +++ b/src/net/ea/npcrecv.cpp @@ -71,7 +71,7 @@ void NpcRecv::processNpcMessage(Net::MessageIn &msg) if (message.size() > 3 && message.substr(0, 3) == "###") return; if (mDialog != nullptr) - mDialog->addText(message); + mDialog->addText(message, true); } void NpcRecv::processNpcClose(Net::MessageIn &msg) @@ -98,7 +98,7 @@ void NpcRecv::processNpcIntInput(Net::MessageIn &msg) npcHandler->getNpc(msg, NpcAction::Other); mRequestLang = false; if (mDialog != nullptr) - mDialog->integerRequest(0); + mDialog->integerRequest(0, 0, 2147483647); } void NpcRecv::processNpcStrInput(Net::MessageIn &msg) @@ -112,7 +112,7 @@ void NpcRecv::processNpcStrInput(Net::MessageIn &msg) } else if (mDialog != nullptr) { - mDialog->textRequest(""); + mDialog->textRequest(std::string()); } } |