summaryrefslogtreecommitdiff
path: root/src/map/trade.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-03 17:52:26 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-03 17:52:26 +0000
commitdecdda8a5c937499b7fddfe03b2fec645d1c4b1a (patch)
tree9e247cb7443350af932867bc01292befef63ca7a /src/map/trade.c
parent356ba42e38233d3b29dd40da1d34af9b84dbb0a0 (diff)
downloadhercules-decdda8a5c937499b7fddfe03b2fec645d1c4b1a.tar.gz
hercules-decdda8a5c937499b7fddfe03b2fec645d1c4b1a.tar.bz2
hercules-decdda8a5c937499b7fddfe03b2fec645d1c4b1a.tar.xz
hercules-decdda8a5c937499b7fddfe03b2fec645d1c4b1a.zip
- SC_ENCHANTARMS will no longer fail to start if it's already running with a "higher elemental level".
- When trying to trade an untradeable item, the add-item-fail packet will be sent so the client does not gets stuck. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10142 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/trade.c')
-rw-r--r--src/map/trade.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/trade.c b/src/map/trade.c
index e4bb4a4b1..77bc80bdf 100644
--- a/src/map/trade.c
+++ b/src/map/trade.c
@@ -353,6 +353,7 @@ void trade_tradeadditem(struct map_session_data *sd, int index, int amount) {
!itemdb_canpartnertrade(item, trade_i, trade_weight))) //Can't partner-trade
{
clif_displaymessage (sd->fd, msg_txt(260));
+ clif_tradeitemok(sd, index+2, 1);
return;
}