diff options
author | Gepard <Gepard@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-08-27 18:48:19 +0000 |
---|---|---|
committer | Gepard <Gepard@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-08-27 18:48:19 +0000 |
commit | b7bdf4ebdbff065e8f38e6758761e08163c774ff (patch) | |
tree | 53022c313bd97c30998394244d784f71a10f3e78 /src/map/vending.c | |
parent | 1fe2e1773b9a7218fe5e39c4d2116194216b6986 (diff) | |
download | hercules-b7bdf4ebdbff065e8f38e6758761e08163c774ff.tar.gz hercules-b7bdf4ebdbff065e8f38e6758761e08163c774ff.tar.bz2 hercules-b7bdf4ebdbff065e8f38e6758761e08163c774ff.tar.xz hercules-b7bdf4ebdbff065e8f38e6758761e08163c774ff.zip |
* Reverted unnecessary signature change of clif_skill_fail from r14941.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14942 54d463be-8e91-2dee-dedb-b68131a5f0ec
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 37557990e..c5ead6513 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, 0); + clif_skill_fail(sd, MC_VENDING, 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, 0); + clif_skill_fail(sd, MC_VENDING, 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, 0); // custom reply packet + clif_skill_fail(sd, MC_VENDING, 0, 0); // custom reply packet return; } |