diff options
Diffstat (limited to 'src/map/vending.c')
-rw-r--r-- | src/map/vending.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/vending.c b/src/map/vending.c index c5ead6513..37557990e 100644 --- a/src/map/vending.c +++ b/src/map/vending.c @@ -261,14 +261,14 @@ void vending_openvending(struct map_session_data* sd, const char* message, bool // skill level and cart check if( !vending_skill_lvl || !pc_iscarton(sd) ) { - clif_skill_fail(sd, MC_VENDING, 0, 0); + clif_skill_fail(sd, MC_VENDING, 0, 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, 0, 0); + clif_skill_fail(sd, MC_VENDING, 0, 0, 0); return; } @@ -303,7 +303,7 @@ void vending_openvending(struct map_session_data* sd, const char* message, bool if( i == 0 ) { // no valid item found - clif_skill_fail(sd, MC_VENDING, 0, 0); // custom reply packet + clif_skill_fail(sd, MC_VENDING, 0, 0, 0); // custom reply packet return; } |