summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-03-06 16:48:24 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-03-06 16:48:24 +0000
commitb888e5435fdf4b3a7d32c050bdbd166f1c0d458b (patch)
tree93cdcc7daa48b5d8bfcd2314d9bd268416db01b7 /src
parent5d165f4de4834768382208b610d0cafc99657f5d (diff)
downloadhercules-b888e5435fdf4b3a7d32c050bdbd166f1c0d458b.tar.gz
hercules-b888e5435fdf4b3a7d32c050bdbd166f1c0d458b.tar.bz2
hercules-b888e5435fdf4b3a7d32c050bdbd166f1c0d458b.tar.xz
hercules-b888e5435fdf4b3a7d32c050bdbd166f1c0d458b.zip
Fixed a crash when a homun kills a mvp and the char that did the most damage is unable to carry the mvp reward (bugreport:1114)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12308 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-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 343a4d604..480442efb 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -2259,7 +2259,7 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type)
}
if((temp = pc_additem(mvp_sd,&item,1)) != 0) {
- clif_additem(sd,0,0,temp);
+ clif_additem(mvp_sd,0,0,temp);
map_addflooritem(&item,1,mvp_sd->bl.m,mvp_sd->bl.x,mvp_sd->bl.y,mvp_sd->status.char_id,(second_sd?second_sd->status.char_id:0),(third_sd?third_sd->status.char_id:0),1);
}