summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-09-24 15:54:25 +0300
committerAndrei Karas <akaras@inbox.ru>2015-09-24 15:55:01 +0300
commit276a84c7de26e9bdc3e89dfc5bd4bdc5c61ed77d (patch)
treee119fd0f5f53a583f0ad7455ad3959a43d188ab4 /src/map/atcommand.c
parent7a867315dac6aaf78a4d61ea67174820a4d30c59 (diff)
downloadhercules-276a84c7de26e9bdc3e89dfc5bd4bdc5c61ed77d.tar.gz
hercules-276a84c7de26e9bdc3e89dfc5bd4bdc5c61ed77d.tar.bz2
hercules-276a84c7de26e9bdc3e89dfc5bd4bdc5c61ed77d.tar.xz
hercules-276a84c7de26e9bdc3e89dfc5bd4bdc5c61ed77d.zip
Add bl parameter to map_searchrandfreecell and map_addflooritem.
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c2
1 files changed, 1 insertions, 1 deletions
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);
}
}