summaryrefslogtreecommitdiff
path: root/src/map/trade.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-24 19:33:37 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-24 19:33:37 +0000
commit34a1a63f26ecc52c524183e6aa477ebfc5dab904 (patch)
tree4da6076ebc49228099c95e6306720cf9ff02b4bc /src/map/trade.c
parent6240fbceaa9a5f366bfcf7b95c3dd959ec04e60c (diff)
downloadhercules-34a1a63f26ecc52c524183e6aa477ebfc5dab904.tar.gz
hercules-34a1a63f26ecc52c524183e6aa477ebfc5dab904.tar.bz2
hercules-34a1a63f26ecc52c524183e6aa477ebfc5dab904.tar.xz
hercules-34a1a63f26ecc52c524183e6aa477ebfc5dab904.zip
- NPC_MAGICALATTACK now starts a state similar to Sacrificial Ritual, in the sense that every normal attack afterwards becomes a Magical Attack. The skill duration is 15 secs.
- Corrected some trade-cancel calls in trade_traderequest. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10346 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/trade.c')
-rw-r--r--src/map/trade.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/trade.c b/src/map/trade.c
index 40f63e888..41d919daa 100644
--- a/src/map/trade.c
+++ b/src/map/trade.c
@@ -54,7 +54,7 @@ void trade_traderequest(struct map_session_data *sd, struct map_session_data *ta
}
if ((target_sd->trade_partner != 0) || (sd->trade_partner != 0)) {
- trade_tradecancel(sd); // person is in another trade
+ clif_tradestart(sd, 2); // person is in another trade
return;
}
@@ -62,7 +62,7 @@ void trade_traderequest(struct map_session_data *sd, struct map_session_data *ta
if ( pc_can_give_items(level) || pc_can_give_items(pc_isGM(target_sd)) ) //check if both GMs are allowed to trade
{
clif_displaymessage(sd->fd, msg_txt(246));
- trade_tradecancel(sd); // GM is not allowed to trade
+ clif_tradestart(sd, 2); // GM is not allowed to trade
return;
}