summaryrefslogtreecommitdiff
path: root/src/map/vending.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/vending.c')
-rw-r--r--src/map/vending.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/vending.c b/src/map/vending.c
index c12948de0..63551272c 100644
--- a/src/map/vending.c
+++ b/src/map/vending.c
@@ -158,6 +158,8 @@ void vending_purchasereq(struct map_session_data *sd,int len,int id,unsigned cha
//Logs
pc_payzeny(sd, (int)z);
+ if (battle_config.vending_tax)
+ z = z*battle_config.vending_tax/10000;
pc_getzeny(vsd, (int)z);
for(i = 0; 8 + 4 * i < len; i++) {