summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-23 01:56:52 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-23 01:56:52 +0000
commit0ffe3b7569390da9b2dfa5493b70d363dce2439c (patch)
tree66ce8fcdbc876c914e79639048c8fac3ec665814 /src/map/mob.c
parent021b26b8409a84b4c83eb0cc1eedbd65eedfd4e0 (diff)
downloadhercules-0ffe3b7569390da9b2dfa5493b70d363dce2439c.tar.gz
hercules-0ffe3b7569390da9b2dfa5493b70d363dce2439c.tar.bz2
hercules-0ffe3b7569390da9b2dfa5493b70d363dce2439c.tar.xz
hercules-0ffe3b7569390da9b2dfa5493b70d363dce2439c.zip
- Changed Preserve's cost to 30sp
- Fixed Arrow Shower, UNT_MAGIC_SKILLS was renamed to UNT_ATTACK_SKILLS - Fixed skill_use_pos checking target tile CELL_CHKNOPASS as invalid instead of CELL_CHKNOREACH git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5708 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index fdf1911cb..e907fa862 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -1314,7 +1314,7 @@ static int mob_ai_sub_hard(struct block_list *bl,va_list ap)
dy = 2*(-1+(i%3));
if (map_getcell(md->bl.m, tbl->x-dx, tbl->y-dy, CELL_CHKSTACK))
continue;
- if (unit_walktoxy(md, tbl->x-dx, tbl->y-dy, 0)) {
+ if (unit_walktoxy(&md->bl, tbl->x-dx, tbl->y-dy, 0)) {
unit_set_walkdelay(&md->bl, tick, 1000, 1);
break;
}