summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-01-03 20:43:25 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-01-03 20:43:25 +0000
commita05f029a4d7ebcdc9915c994f589bbca6f072004 (patch)
tree361fa929d1156b6fc8aa540e99d45b7390262569 /src/map/unit.c
parent4a5df18906e0559b583d7857bf868859bfedf731 (diff)
downloadhercules-a05f029a4d7ebcdc9915c994f589bbca6f072004.tar.gz
hercules-a05f029a4d7ebcdc9915c994f589bbca6f072004.tar.bz2
hercules-a05f029a4d7ebcdc9915c994f589bbca6f072004.tar.xz
hercules-a05f029a4d7ebcdc9915c994f589bbca6f072004.zip
Removed map_data's block_count, as (quote Yor/ja2160), "Perhaps useful for debug, but uses memory AND CPU for nothing." (block lists are linked lists, they don't need count tracking)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12001 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index 6e0eed53c..c8ae55bc3 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -149,8 +149,7 @@ static int unit_walktoxy_timer(int tid,unsigned int tick,int id,int data)
// バシリカ判定
- map_foreachinmovearea(clif_outsight, bl, AREA_SIZE,
- dx, dy, sd?BL_ALL:BL_PC, bl);
+ map_foreachinmovearea(clif_outsight, bl, AREA_SIZE, dx, dy, sd?BL_ALL:BL_PC, bl);
x += dx;
y += dy;
@@ -161,8 +160,7 @@ static int unit_walktoxy_timer(int tid,unsigned int tick,int id,int data)
return 0; //map_moveblock has altered the object beyond what we expected (moved/warped it)
ud->walktimer = 1;
- map_foreachinmovearea(clif_insight, bl, AREA_SIZE,
- -dx, -dy, sd?BL_ALL:BL_PC, bl);
+ map_foreachinmovearea(clif_insight, bl, AREA_SIZE, -dx, -dy, sd?BL_ALL:BL_PC, bl);
ud->walktimer = -1;
if(sd) {