diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-13 03:54:35 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-13 03:54:35 +0000 |
commit | beeda58fd5525866d700d55d5504213bc2bd70fe (patch) | |
tree | b1aeb3e0e5cbd0ee144b270045f167368a7bfffb /src/map/atcommand.c | |
parent | cd6cab9425aec0f7f5f38e1e797db4b284b5c013 (diff) | |
download | hercules-beeda58fd5525866d700d55d5504213bc2bd70fe.tar.gz hercules-beeda58fd5525866d700d55d5504213bc2bd70fe.tar.bz2 hercules-beeda58fd5525866d700d55d5504213bc2bd70fe.tar.xz hercules-beeda58fd5525866d700d55d5504213bc2bd70fe.zip |
- Updated clif_disp_onlyself to not use dynamic memory and write directly to the player's buffer.
- Updated @noask to also tell the rejected what he has just rejected (added msg_athena entries for each of the different requests)
- Since noask already does a player lookup, updated the corresponding parsing functions to take the player rather than the player id (prevents double lookups)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7117 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 9ac4af66b..073382f71 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -8332,7 +8332,7 @@ atcommand_trade( if (!message || !*message)
return -1;
if((pl_sd=map_nick2sd((char *) message)) != NULL) {
- trade_traderequest(sd, pl_sd->bl.id);
+ trade_traderequest(sd, pl_sd);
return 0;
}
return -1;
|