summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-11 14:01:04 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-11 14:01:04 +0000
commit630838a54cc2406ecbc21089800f702ac816673d (patch)
tree1701a5af9a69f68b033e1f0154dfa79866d446e2 /src/map/mob.c
parent93fcb74029252a194664e7498b1d3ca8f5d802c3 (diff)
downloadhercules-630838a54cc2406ecbc21089800f702ac816673d.tar.gz
hercules-630838a54cc2406ecbc21089800f702ac816673d.tar.bz2
hercules-630838a54cc2406ecbc21089800f702ac816673d.tar.xz
hercules-630838a54cc2406ecbc21089800f702ac816673d.zip
- Fixed Looted items always dropping in quantities of 1.
- Removed the check that deletes Magnus Exorcism cells after they hit once. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5984 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 7c428e60e..b9c90c1f3 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -1434,7 +1434,7 @@ static int mob_delay_item_drop(int tid,unsigned int tick,int id,int data)
struct delay_item_drop *ditem;
ditem=(struct delay_item_drop *)id;
- map_addflooritem(&ditem->item_data,1,ditem->m,ditem->x,ditem->y,ditem->first_sd,ditem->second_sd,ditem->third_sd,0);
+ map_addflooritem(&ditem->item_data,ditem->item_data.amount,ditem->m,ditem->x,ditem->y,ditem->first_sd,ditem->second_sd,ditem->third_sd,0);
ers_free(delay_drop_ers, ditem);
return 0;
}