summaryrefslogtreecommitdiff
path: root/src/map/unit.h
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-02 01:03:31 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-02 01:03:31 +0000
commit9bcd4b05f059e887a6f8e165d42382b5aeef77ef (patch)
tree7371aa1be7ddaef6791e91678916707fae8fd0e2 /src/map/unit.h
parentedb76b67ea5832d1d8f8a48d2209382200edc5a8 (diff)
downloadhercules-9bcd4b05f059e887a6f8e165d42382b5aeef77ef.tar.gz
hercules-9bcd4b05f059e887a6f8e165d42382b5aeef77ef.tar.bz2
hercules-9bcd4b05f059e887a6f8e165d42382b5aeef77ef.tar.xz
hercules-9bcd4b05f059e887a6f8e165d42382b5aeef77ef.zip
* Added more debug information to track the double remove_map's
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12457 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.h')
-rw-r--r--src/map/unit.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/unit.h b/src/map/unit.h
index 192f1c7e8..ec2e81c5a 100644
--- a/src/map/unit.h
+++ b/src/map/unit.h
@@ -114,7 +114,8 @@ int unit_fixdamage(struct block_list *src,struct block_list *target,unsigned int
struct unit_data* unit_bl2ud(struct block_list *bl);
void unit_remove_map_pc(struct map_session_data *sd, int clrtype);
void unit_free_pc(struct map_session_data *sd);
-int unit_remove_map(struct block_list *bl, int clrtype);
+#define unit_remove_map(bl,clrtype) unit_remove_map_(bl,clrtype,__FILE__,__LINE__,__func__)
+int unit_remove_map_(struct block_list *bl, int clrtype, const char* file, int line, const char* func);
int unit_free(struct block_list *bl, int clrtype);
int unit_changeviewsize(struct block_list *bl,short size);