summaryrefslogtreecommitdiff
path: root/src/emap
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-10-04 21:43:56 +0300
committerAndrei Karas <akaras@inbox.ru>2019-10-04 21:43:56 +0300
commitcd6c1e97e8c51186301d9a1bd26157cbe852473a (patch)
tree0509166029bb958e78b54e924f9b4d4a59dc0dcd /src/emap
parent4d08f967636f9aae862e6d3016a6d5faf0817542 (diff)
downloadplugin-cd6c1e97e8c51186301d9a1bd26157cbe852473a.tar.gz
plugin-cd6c1e97e8c51186301d9a1bd26157cbe852473a.tar.bz2
plugin-cd6c1e97e8c51186301d9a1bd26157cbe852473a.tar.xz
plugin-cd6c1e97e8c51186301d9a1bd26157cbe852473a.zip
Change packet input limit in each input buildin invocation
Diffstat (limited to 'src/emap')
-rw-r--r--src/emap/script_buildins.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/emap/script_buildins.c b/src/emap/script_buildins.c
index 34d8f54..c0a7e1b 100644
--- a/src/emap/script_buildins.c
+++ b/src/emap/script_buildins.c
@@ -2163,9 +2163,15 @@ BUILDIN(input)
sd->state.menu_or_input = 1;
st->state = RERUNLINE;
if (is_string_variable(name))
+ {
clif->scriptinputstr(sd, st->oid);
+ }
else
+ {
+ sd->npc_amount_min = min;
+ sd->npc_amount_max = max;
clif->scriptinput(sd, st->oid);
+ }
}
else
{