From cb2452c0149e4a4d1f9fa08bf1aafd146f3ca2de Mon Sep 17 00:00:00 2001 From: ultramage Date: Sat, 7 Apr 2007 21:15:34 +0000 Subject: - Fixed the platform-specific stricmp compilation problem - Fixed inverted vending tax equation (venders getting only 2% zeny instead of 98%), and made it more precise git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10182 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/vending.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/vending.c') diff --git a/src/map/vending.c b/src/map/vending.c index 44f1a0f11..23a7d9ce8 100644 --- a/src/map/vending.c +++ b/src/map/vending.c @@ -159,7 +159,7 @@ void vending_purchasereq(struct map_session_data *sd,int len,int id,unsigned cha pc_payzeny(sd, (int)z); if (battle_config.vending_tax) - z = z*battle_config.vending_tax/10000; + z = z*(1 - battle_config.vending_tax/10000); pc_getzeny(vsd, (int)z); for(i = 0; 8 + 4 * i < len; i++) { -- cgit v1.2.3-60-g2f50