diff options
author | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-12-09 23:18:03 +0000 |
---|---|---|
committer | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-12-09 23:18:03 +0000 |
commit | 18ec7de528b88d581e3ad10c03f6b8244b207630 (patch) | |
tree | 2587521b2a35c6d1bd8953de589a1fbe27607873 /src/map/intif.c | |
parent | 91d87f7a903545b70e23e3aa0edbd2e3ee2b67bc (diff) | |
download | hercules-18ec7de528b88d581e3ad10c03f6b8244b207630.tar.gz hercules-18ec7de528b88d581e3ad10c03f6b8244b207630.tar.bz2 hercules-18ec7de528b88d581e3ad10c03f6b8244b207630.tar.xz hercules-18ec7de528b88d581e3ad10c03f6b8244b207630.zip |
* Removed some of the duplicate, storage-related packet code.
- Removed clif_guildstoragelist and adjusted clif_storagelist to be able to handle any kind of storage.
- Removed clif_guildstorageitemadded in favor of clif_storageitemadded.
- This also fixes clif_guildstorageitemadded sending old update packet for clients prior 20090603, although packet 0x1c4 (ZC_ADD_ITEM_TO_STORE2) was added before PACKETVER 5 (before 2003-11-03aSakexe, exact addition date unknown) (since r14286).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14571 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/intif.c')
-rw-r--r-- | src/map/intif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/intif.c b/src/map/intif.c index 15d948c59..98e8c0feb 100644 --- a/src/map/intif.c +++ b/src/map/intif.c @@ -986,7 +986,7 @@ int intif_parse_LoadGuildStorage(int fd) memcpy(gstor,RFIFOP(fd,12),sizeof(struct guild_storage)); gstor->storage_status = 1; sd->state.storage_flag = 2; - clif_guildstoragelist(sd,gstor); + clif_storagelist(sd, gstor->storage_, ARRAYLENGTH(gstor->storage_)); clif_updateguildstorageamount(sd,gstor->storage_amount); return 0; } |