summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-17 03:37:23 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-17 03:37:23 +0000
commit84785ca7132b08ff5bb6568a3e62a96c58df7ef4 (patch)
tree9a8f2e7e507ccc64e19c50a49e64ac64664f2cdb /src/map/mob.c
parent7f8e89279b819e0c3b6ed693bbacf880d3800488 (diff)
downloadhercules-84785ca7132b08ff5bb6568a3e62a96c58df7ef4.tar.gz
hercules-84785ca7132b08ff5bb6568a3e62a96c58df7ef4.tar.bz2
hercules-84785ca7132b08ff5bb6568a3e62a96c58df7ef4.tar.xz
hercules-84785ca7132b08ff5bb6568a3e62a96c58df7ef4.zip
- Now you can't close-confine and already confined mob.
- mysql/my_global.h now includes winnt.h under Windows systems... - Updated SC_CLOSECONFINE to store the skill lv in val1 and the amount of locked targets in val2 - Some cleanup of status.c to use StatusSkillChangeTable where appropiate. - Removed the check that prevented mobs from walking into a basilica. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5303 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index f279346d8..2f9e2de03 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -545,11 +545,6 @@ static int mob_walk(struct mob_data *md,unsigned int tick,int data)
dx = dirx[md->dir];
dy = diry[md->dir];
- if (map_getcell(md->bl.m,x+dx,y+dy,CELL_CHKBASILICA) && !(status_get_mode(&md->bl)&MD_BOSS)) {
- mob_stop_walking(md,1);
- return 0;
- }
-
if (map_getcell(md->bl.m,x+dx,y+dy,CELL_CHKNOPASS)) {
mob_walktoxy_sub(md);
return 0;
@@ -911,10 +906,6 @@ static int mob_walktoxy_sub(struct mob_data *md)
return 1;
x = md->bl.x+dirx[wpd.path[0]];
y = md->bl.y+diry[wpd.path[0]];
- if (map_getcell(md->bl.m,x,y,CELL_CHKBASILICA) && !(status_get_mode(&md->bl)&MD_BOSS)) {
- md->state.change_walk_target=0;
- return 1;
- }
memcpy(&md->walkpath,&wpd,sizeof(wpd));