summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-02-07 13:17:53 +0000
committerJared Adams <jaxad0127@gmail.com>2009-02-07 13:17:53 +0000
commita4650533313a4dc74c77488f83132522506efb3d (patch)
tree02b89a261a6e3e9844407b0bfcd3186f91cb1f32 /src/map/clif.c
parentb80647dacebd450ca85616044503f9da9d0ddceb (diff)
downloadtmwa-a4650533313a4dc74c77488f83132522506efb3d.tar.gz
tmwa-a4650533313a4dc74c77488f83132522506efb3d.tar.bz2
tmwa-a4650533313a4dc74c77488f83132522506efb3d.tar.xz
tmwa-a4650533313a4dc74c77488f83132522506efb3d.zip
Add some code to prevent GP duplication with trade
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 7b602c2..8fe1ae6 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -2470,6 +2470,7 @@ int clif_updatestatus(struct map_session_data *sd,int type)
case SP_ZENY:
+ trade_verifyzeny(sd);
WFIFOW(fd,0)=0xb1;
if(sd->status.zeny < 0)
sd->status.zeny = 0;