From 276a84c7de26e9bdc3e89dfc5bd4bdc5c61ed77d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 24 Sep 2015 15:54:25 +0300 Subject: Add bl parameter to map_searchrandfreecell and map_addflooritem. --- src/map/atcommand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/atcommand.c') diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 4e4cd8aa7..7277f8f08 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -5420,7 +5420,7 @@ void atcommand_getring(struct map_session_data* sd) { if((flag = pc->additem(sd,&item_tmp,1,LOG_TYPE_COMMAND))) { clif->additem(sd,0,0,flag); - map->addflooritem(&item_tmp,1,sd->bl.m,sd->bl.x,sd->bl.y,0,0,0,0); + map->addflooritem(&sd->bl, &item_tmp, 1, sd->bl.m, sd->bl.x, sd->bl.y, 0, 0, 0, 0); } } -- cgit v1.2.3-60-g2f50