summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-17 21:20:58 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-17 21:20:58 +0000
commit08957511cfd1eef7cdfdc62bd8bf4162e254c774 (patch)
tree7a4d29c5a45bc06de1473b1657faf9675766fe54 /src/map/pc.c
parenta221e97dba785931319d726d3cb0215d2e1bcf79 (diff)
downloadhercules-08957511cfd1eef7cdfdc62bd8bf4162e254c774.tar.gz
hercules-08957511cfd1eef7cdfdc62bd8bf4162e254c774.tar.bz2
hercules-08957511cfd1eef7cdfdc62bd8bf4162e254c774.tar.xz
hercules-08957511cfd1eef7cdfdc62bd8bf4162e254c774.zip
- 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
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c2
1 files changed, 1 insertions, 1 deletions
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);