diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-01-03 20:56:20 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-01-03 20:56:20 +0000 |
commit | 50418d820226fbcdf7609fb619028e3b75a2fa9e (patch) | |
tree | 9eb6702bf55b75bcd5b340a1494fd89a1d279ed9 /src/map/map.h | |
parent | a05f029a4d7ebcdc9915c994f589bbca6f072004 (diff) | |
download | hercules-50418d820226fbcdf7609fb619028e3b75a2fa9e.tar.gz hercules-50418d820226fbcdf7609fb619028e3b75a2fa9e.tar.bz2 hercules-50418d820226fbcdf7609fb619028e3b75a2fa9e.tar.xz hercules-50418d820226fbcdf7609fb619028e3b75a2fa9e.zip |
Moved extra junk from map_addblock/map_delblock to where it logically belongs (loadendack/unit_remove_map), removed flags and _sub macros
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12002 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.h')
-rw-r--r-- | src/map/map.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/map/map.h b/src/map/map.h index 611b19f42..fa165609d 100644 --- a/src/map/map.h +++ b/src/map/map.h @@ -1275,10 +1275,8 @@ int map_freeblock(struct block_list *bl); int map_freeblock_lock(void); int map_freeblock_unlock(void); // blockŠÖ˜A -int map_addblock_sub(struct block_list *, int); -int map_delblock_sub(struct block_list *, int); -#define map_addblock(bl) map_addblock_sub(bl,1) -#define map_delblock(bl) map_delblock_sub(bl,1) +int map_addblock(struct block_list* bl); +int map_delblock(struct block_list* bl); int map_moveblock(struct block_list *, int, int, unsigned int); int map_foreachinrange(int (*func)(struct block_list*,va_list), struct block_list* center, int range, int type, ...); int map_foreachinshootrange(int (*func)(struct block_list*,va_list), struct block_list* center, int range, int type, ...); |