summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-10-25 11:20:47 +0000
committerInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-10-25 11:20:47 +0000
commit8dc2ec08666cac608e391fa6c47b9248dd273f99 (patch)
tree7dca5a680e44e8c117451dd0fe0dd29eb6b3e82e /src/map/status.c
parent7da9ee0b5c0aad9425441bcddeeadb745aa4c0d5 (diff)
downloadhercules-8dc2ec08666cac608e391fa6c47b9248dd273f99.tar.gz
hercules-8dc2ec08666cac608e391fa6c47b9248dd273f99.tar.bz2
hercules-8dc2ec08666cac608e391fa6c47b9248dd273f99.tar.xz
hercules-8dc2ec08666cac608e391fa6c47b9248dd273f99.zip
Reverted renaming foreach functions and create a new one for OnTouch so that last commit will hopefully break NOTHING in use.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14098 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/status.c b/src/map/status.c
index bd9bba811..71d0f6770 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -6498,8 +6498,8 @@ int status_change_end(struct block_list* bl, enum sc_type type, int tid)
int range = 1
+skill_get_range2(bl, status_sc2skill(type), sce->val1)
+skill_get_range2(bl, TF_BACKSLIDING, 1); //Since most people use this to escape the hold....
- map_forsomeinarea(status_change_timer_sub,
- bl->m, bl->x-range, bl->y-range, bl->x+range,bl->y+range,0,BL_CHAR,bl,sce,type,gettick());
+ map_foreachinarea(status_change_timer_sub,
+ bl->m, bl->x-range, bl->y-range, bl->x+range,bl->y+range,BL_CHAR,bl,sce,type,gettick());
}
break;
case SC_COMBO: //Clear last used skill when it is part of a combo.