diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2013-01-16 18:18:57 -0800 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2013-01-17 17:35:36 -0800 |
commit | d0e9a569f832fae6a91d163c6c8b93f7eb924ff5 (patch) | |
tree | 8499075d69e3b00bf12c16da6a52ef4d7e98be2f /src/map/trade.cpp | |
parent | b34acd1a97e7f087882675e812fda04d303dc6e0 (diff) | |
download | tmwa-d0e9a569f832fae6a91d163c6c8b93f7eb924ff5.tar.gz tmwa-d0e9a569f832fae6a91d163c6c8b93f7eb924ff5.tar.bz2 tmwa-d0e9a569f832fae6a91d163c6c8b93f7eb924ff5.tar.xz tmwa-d0e9a569f832fae6a91d163c6c8b93f7eb924ff5.zip |
Clean up some things after declassization
Diffstat (limited to 'src/map/trade.cpp')
-rw-r--r-- | src/map/trade.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/trade.cpp b/src/map/trade.cpp index 6b44752..8881ea1 100644 --- a/src/map/trade.cpp +++ b/src/map/trade.cpp @@ -13,6 +13,8 @@ #include "pc.hpp" #include "storage.hpp" +#include "../poison.hpp" + /*========================================== * 取引要請を相手に送る *------------------------------------------ @@ -166,12 +168,10 @@ void trade_tradeadditem(struct map_session_data *sd, int index, int amount) target_sd->max_weight) { clif_tradeitemok(sd, index, 0, 1); //fail to add item -- the player was over weighted. - amount = 0; // [MouseJstr] } else if (free <= 0) { clif_tradeitemok(sd, index, 0, 2); //fail to add item -- no free slots at receiver - amount = 0; // peavey } else { |