diff options
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 { |