summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-10-01 18:07:18 +0300
committerAndrei Karas <akaras@inbox.ru>2015-10-01 18:07:18 +0300
commit13f058bf34ada7825776b9596fed04244bae1d27 (patch)
treea105ab870ac1ab1caca58b6662532fff7c9efcef
parent82a8e2804bbcd75db6053d5e36236ba33833ec60 (diff)
downloadplugin-13f058bf34ada7825776b9596fed04244bae1d27.tar.gz
plugin-13f058bf34ada7825776b9596fed04244bae1d27.tar.bz2
plugin-13f058bf34ada7825776b9596fed04244bae1d27.tar.xz
plugin-13f058bf34ada7825776b9596fed04244bae1d27.zip
Add missing parameter to emap_addflooritem_post function.
-rw-r--r--src/emap/map.c3
-rw-r--r--src/emap/map.h12
2 files changed, 13 insertions, 2 deletions
diff --git a/src/emap/map.c b/src/emap/map.c
index 8e92d90..3b09212 100644
--- a/src/emap/map.c
+++ b/src/emap/map.c
@@ -26,7 +26,8 @@
#include "emap/struct/itemdext.h"
#include "emap/struct/sessionext.h"
-int emap_addflooritem_post(int retVal,
+int emap_addflooritem_post(const struct block_list *bl,
+ int retVal,
struct item *item,
int *amount __attribute__ ((unused)),
int16 *m __attribute__ ((unused)),
diff --git a/src/emap/map.h b/src/emap/map.h
index ed25665..cd8dac8 100644
--- a/src/emap/map.h
+++ b/src/emap/map.h
@@ -4,7 +4,17 @@
#ifndef EVOL_MAP_MAP
#define EVOL_MAP_MAP
-int emap_addflooritem_post(int retVal, struct item *item, int *amount, int16 *m, int16 *x, int16 *y, int *first_charid, int *second_charid, int *third_charid, int *flags);
+int emap_addflooritem_post(int retVal,
+ const struct block_list *bl,
+ struct item *item,
+ int *amount,
+ int16 *m,
+ int16 *x,
+ int16 *y,
+ int *first_charid,
+ int *second_charid,
+ int *third_charid,
+ int *flags);
void emap_online_list(int fd);
#endif // EVOL_MAP_MAP