summaryrefslogtreecommitdiff
path: root/src/map/vending.c
diff options
context:
space:
mode:
authormalufett <malufett.eat.my.binaries@gmail.com>2013-06-13 01:56:21 +0800
committermalufett <malufett.eat.my.binaries@gmail.com>2013-06-13 01:56:21 +0800
commit0395610469ffcd3b71c93ef90861f73e0ab8d16f (patch)
tree5755aa69c3fef1355bc164a3870a1b25ecce9cf6 /src/map/vending.c
parent8821ff87533b037d5d4914db6dbdeacfa5fca4ce (diff)
downloadhercules-0395610469ffcd3b71c93ef90861f73e0ab8d16f.tar.gz
hercules-0395610469ffcd3b71c93ef90861f73e0ab8d16f.tar.bz2
hercules-0395610469ffcd3b71c93ef90861f73e0ab8d16f.tar.xz
hercules-0395610469ffcd3b71c93ef90861f73e0ab8d16f.zip
Hercules Renewal Phase : Renewal
Rename SC names to eagis standard. Implement SC Configuration.(see db/sc_config.txt) Skill updates and fixes. Some code optimization. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
Diffstat (limited to 'src/map/vending.c')
-rw-r--r--src/map/vending.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/vending.c b/src/map/vending.c
index e0dd844e1..b9575c8dd 100644
--- a/src/map/vending.c
+++ b/src/map/vending.c
@@ -272,7 +272,7 @@ void vending_openvending(struct map_session_data* sd, const char* message, const
clif->skill_fail(sd, MC_VENDING, USESKILL_FAIL_LEVEL, 0); // custom reply packet
return;
}
- sd->state.prevend = 0;
+ sd->state.prevend = sd->state.workinprogress = 0;
sd->state.vending = true;
sd->vender_id = getid();
sd->vend_num = i;