diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-04-20 01:28:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-04-20 01:28:58 +0300 |
commit | 4a5a1205ac1c570724574b1aed3d3902f1bdbc27 (patch) | |
tree | 2a0f05cf12ea7bb1fae8998b70c7c3ec950eda96 /src/emap/script_buildins.c | |
parent | 32eac16e25d7e2024c959d10393e467927140706 (diff) | |
download | plugin-4a5a1205ac1c570724574b1aed3d3902f1bdbc27.tar.gz plugin-4a5a1205ac1c570724574b1aed3d3902f1bdbc27.tar.bz2 plugin-4a5a1205ac1c570724574b1aed3d3902f1bdbc27.tar.xz plugin-4a5a1205ac1c570724574b1aed3d3902f1bdbc27.zip |
Drop support for client protocol version 10 (Aug 16 2015).
Diffstat (limited to 'src/emap/script_buildins.c')
-rw-r--r-- | src/emap/script_buildins.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/emap/script_buildins.c b/src/emap/script_buildins.c index 3775814..6acdde0 100644 --- a/src/emap/script_buildins.c +++ b/src/emap/script_buildins.c @@ -409,10 +409,8 @@ BUILDIN(requestItemIndex) st->state = RERUNLINE; // send item request - if (client && client->clientVersion >= 11) + if (client) send_npccommand(sd, st->oid, 11); - else - clif->scriptinputstr(sd, st->oid); } else { @@ -462,10 +460,8 @@ BUILDIN(requestItemsIndex) st->state = RERUNLINE; // send item request with limit count - if (client && client->clientVersion >= 11) + if (client) send_npccommand2(sd, st->oid, 11, count, 0, 0); - else - clif->scriptinputstr(sd, st->oid); } else { |