summaryrefslogtreecommitdiff
path: root/src/map/vending.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-07-15 20:21:43 +0200
committerGitHub <noreply@github.com>2018-07-15 20:21:43 +0200
commit02e7a858fb7bcb178040f85a28a6c553d2f5d360 (patch)
tree47de0f3872fb47ac9072439ddbc36b52f8a661e5 /src/map/vending.c
parent8d028cbacdc4a424621c94a521c375baa234bdce (diff)
parent83c26fc34c8ae4badc06b3ff41fa528033a5c840 (diff)
downloadhercules-02e7a858fb7bcb178040f85a28a6c553d2f5d360.tar.gz
hercules-02e7a858fb7bcb178040f85a28a6c553d2f5d360.tar.bz2
hercules-02e7a858fb7bcb178040f85a28a6c553d2f5d360.tar.xz
hercules-02e7a858fb7bcb178040f85a28a6c553d2f5d360.zip
Merge pull request #2126 from 4144/updatepacket
Update packets and messages up to 2018-07-11
Diffstat (limited to 'src/map/vending.c')
-rw-r--r--src/map/vending.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/vending.c b/src/map/vending.c
index fb8b22729..9bd06c758 100644
--- a/src/map/vending.c
+++ b/src/map/vending.c
@@ -257,14 +257,14 @@ static void vending_openvending(struct map_session_data *sd, const char *message
vending_skill_lvl = pc->checkskill(sd, MC_VENDING);
// skill level and cart check
if( !vending_skill_lvl || !pc_iscarton(sd) ) {
- clif->skill_fail(sd, MC_VENDING, USESKILL_FAIL_LEVEL, 0);
+ clif->skill_fail(sd, MC_VENDING, USESKILL_FAIL_LEVEL, 0, 0);
return;
}
// check number of items in shop
if( count < 1 || count > MAX_VENDING || count > 2 + vending_skill_lvl ) {
// invalid item count
- clif->skill_fail(sd, MC_VENDING, USESKILL_FAIL_LEVEL, 0);
+ clif->skill_fail(sd, MC_VENDING, USESKILL_FAIL_LEVEL, 0, 0);
return;
}
@@ -298,7 +298,7 @@ static void vending_openvending(struct map_session_data *sd, const char *message
clif->message (sd->fd, msg_sd(sd,266)); //"Some of your items cannot be vended and were removed from the shop."
if( i == 0 ) { // no valid item found
- clif->skill_fail(sd, MC_VENDING, USESKILL_FAIL_LEVEL, 0); // custom reply packet
+ clif->skill_fail(sd, MC_VENDING, USESKILL_FAIL_LEVEL, 0, 0); // custom reply packet
return;
}
sd->state.prevend = sd->state.workinprogress = 0;