From 18ec7de528b88d581e3ad10c03f6b8244b207630 Mon Sep 17 00:00:00 2001 From: ai4rei Date: Thu, 9 Dec 2010 23:18:03 +0000 Subject: * 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 --- src/map/intif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/intif.c') 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; } -- cgit v1.2.3-60-g2f50