diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-10-04 21:43:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-10-04 21:43:56 +0300 |
commit | cd6c1e97e8c51186301d9a1bd26157cbe852473a (patch) | |
tree | 0509166029bb958e78b54e924f9b4d4a59dc0dcd /src/emap | |
parent | 4d08f967636f9aae862e6d3016a6d5faf0817542 (diff) | |
download | plugin-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.c | 6 |
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 { |