diff options
author | shennetsind <ind@henn.et> | 2013-04-16 03:46:44 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-04-16 03:46:44 -0300 |
commit | c653a703757acc13edbff5a2624c16df74cca4f1 (patch) | |
tree | 887e9e464b13680ed67d8636fb136b60121655d3 /src/map/trade.c | |
parent | 8ec2352c28f7495b7e3c81a8920e40b57d5074e9 (diff) | |
download | hercules-c653a703757acc13edbff5a2624c16df74cca4f1.tar.gz hercules-c653a703757acc13edbff5a2624c16df74cca4f1.tar.bz2 hercules-c653a703757acc13edbff5a2624c16df74cca4f1.tar.xz hercules-c653a703757acc13edbff5a2624c16df74cca4f1.zip |
Fixed Bug #419
added coodinate checks on a number of locations (parse duplicate/warp/shop/etc).
http://hercules.ws/board/tracker/issue-419-loading-of-badly-placed-npcs/
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/trade.c')
-rw-r--r-- | src/map/trade.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/trade.c b/src/map/trade.c index 0b9609322..728ecbbb1 100644 --- a/src/map/trade.c +++ b/src/map/trade.c @@ -178,8 +178,7 @@ int impossible_trade_check(struct map_session_data *sd) nullpo_retr(1, sd); - if(sd->deal.zeny > sd->status.zeny) - { + if(sd->deal.zeny > sd->status.zeny) { pc_setglobalreg(sd,"ZENY_HACKER",1); return -1; } |