summaryrefslogtreecommitdiff
path: root/src/map/intif.c
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-07 20:45:16 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-07 20:45:16 +0000
commita31d04361d3bbfa96519ecd2632e09e6fcb26e04 (patch)
treec3bb81f955b11b88aba7a9fb4b05dfc3c5c3b06f /src/map/intif.c
parent7496915ff909733618b011ca06ee27ae7a098f2b (diff)
downloadhercules-a31d04361d3bbfa96519ecd2632e09e6fcb26e04.tar.gz
hercules-a31d04361d3bbfa96519ecd2632e09e6fcb26e04.tar.bz2
hercules-a31d04361d3bbfa96519ecd2632e09e6fcb26e04.tar.xz
hercules-a31d04361d3bbfa96519ecd2632e09e6fcb26e04.zip
- Added separated packets for get and set attachment on mail system.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11693 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/intif.c')
-rw-r--r--src/map/intif.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/intif.c b/src/map/intif.c
index d54441f4e..089d776f6 100644
--- a/src/map/intif.c
+++ b/src/map/intif.c
@@ -1568,7 +1568,10 @@ int intif_parse_Mail_getattach(int fd)
memcpy(&item, RFIFOP(fd,12), sizeof(struct item));
if (item.nameid > 0 && item.amount > 0)
+ {
pc_additem(sd, &item, item.amount);
+ clif_Mail_getattachment(sd->fd, 0);
+ }
return 0;
}