summaryrefslogtreecommitdiff
path: root/src/emap/script_buildins.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-20 01:49:27 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-20 02:24:18 +0300
commitef853a511e3c8ac67ce501cec30f4bd0fc3fa9b7 (patch)
treecf3f4bb88917c321ce6abe3d474f8c309f5b04f8 /src/emap/script_buildins.c
parentbbec048534c01eb039386745b13909026d58dbb3 (diff)
downloadevol-hercules-ef853a511e3c8ac67ce501cec30f4bd0fc3fa9b7.tar.gz
evol-hercules-ef853a511e3c8ac67ce501cec30f4bd0fc3fa9b7.tar.bz2
evol-hercules-ef853a511e3c8ac67ce501cec30f4bd0fc3fa9b7.tar.xz
evol-hercules-ef853a511e3c8ac67ce501cec30f4bd0fc3fa9b7.zip
Drop support for client protocol version 15 (Oct 26 2015).
Diffstat (limited to 'src/emap/script_buildins.c')
-rw-r--r--src/emap/script_buildins.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/emap/script_buildins.c b/src/emap/script_buildins.c
index 6acdde0..45444b4 100644
--- a/src/emap/script_buildins.c
+++ b/src/emap/script_buildins.c
@@ -502,10 +502,8 @@ BUILDIN(requestCraft)
st->state = RERUNLINE;
// send item request with limit count
- if (client && client->clientVersion >= 16)
+ if (client)
send_npccommand2(sd, st->oid, 12, count, 0, 0);
- else
- clif->scriptinputstr(sd, st->oid);
}
else
{