summaryrefslogtreecommitdiff
path: root/src/map/map.h
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/map.h
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/map.h')
-rw-r--r--src/map/map.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/map.h b/src/map/map.h
index dc970a5a3..39af13de8 100644
--- a/src/map/map.h
+++ b/src/map/map.h
@@ -955,7 +955,7 @@ END_ZEROED_BLOCK;
int (*clearflooritem_timer) (int tid, int64 tick, int id, intptr_t data);
int (*removemobs_timer) (int tid, int64 tick, int id, intptr_t data);
void (*clearflooritem) (struct block_list* bl);
- int (*addflooritem) (struct item *item_data,int amount,int16 m,int16 x,int16 y,int first_charid,int second_charid,int third_charid,int flags);
+ int (*addflooritem) (const struct block_list *bl, struct item *item_data, int amount, int16 m, int16 x, int16 y, int first_charid, int second_charid, int third_charid, int flags);
// player to map session
void (*addnickdb) (int charid, const char* nick);
void (*delnickdb) (int charid, const char* nick);
@@ -1042,7 +1042,7 @@ END_ZEROED_BLOCK;
void (*do_shutdown) (void);
int (*freeblock_timer) (int tid, int64 tick, int id, intptr_t data);
- int (*searchrandfreecell) (int16 m, int16 *x, int16 *y, int stack);
+ int (*searchrandfreecell) (int16 m, const struct block_list *bl, int16 *x, int16 *y, int stack);
int (*count_sub) (struct block_list *bl, va_list ap);
DBData (*create_charid2nick) (DBKey key, va_list args);
int (*removemobs_sub) (struct block_list *bl, va_list ap);