summaryrefslogtreecommitdiff
path: root/src/net/ea/npcrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-23 19:22:13 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-23 19:22:13 +0300
commit4aaa299b111d07d7e4425e60a888e8496b9da5c1 (patch)
treefc11670c1c7bd01357610e31a53c7fad011fddce /src/net/ea/npcrecv.cpp
parent1cb94f20f35a0b6b5abe6ca06d895a72f63fad47 (diff)
downloadplus-4aaa299b111d07d7e4425e60a888e8496b9da5c1.tar.gz
plus-4aaa299b111d07d7e4425e60a888e8496b9da5c1.tar.bz2
plus-4aaa299b111d07d7e4425e60a888e8496b9da5c1.tar.xz
plus-4aaa299b111d07d7e4425e60a888e8496b9da5c1.zip
Remove default parameters from npcdialog.
Diffstat (limited to 'src/net/ea/npcrecv.cpp')
-rw-r--r--src/net/ea/npcrecv.cpp6
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());
}
}