From 08957511cfd1eef7cdfdc62bd8bf4162e254c774 Mon Sep 17 00:00:00 2001 From: skotlex Date: Fri, 17 Nov 2006 21:20:58 +0000 Subject: - Corrected use of the party invitation reply packet, thanks to FlavioJS. - Removed requirement of "Changelog-Trunk" in the common/Makefile, why was it even there?? - Minor cleanups git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9251 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/pc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/pc.c') diff --git a/src/map/pc.c b/src/map/pc.c index 9436444f2..e28c1859d 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -3222,8 +3222,8 @@ int pc_steal_item(struct map_session_data *sd,struct block_list *bl, int lv) if(rand() % 10000 >= md->db->dropitem[i].p*rate/100) return 0; - malloc_set(&tmp_item,0,sizeof(tmp_item)); itemid = md->db->dropitem[i].nameid; + malloc_set(&tmp_item,0,sizeof(tmp_item)); tmp_item.nameid = itemid; tmp_item.amount = 1; tmp_item.identify = itemdb_isidentified(itemid); -- cgit v1.2.3-60-g2f50