summaryrefslogtreecommitdiff
path: root/src/map/atcommand.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/atcommand.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/atcommand.c')
-rw-r--r--src/map/atcommand.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index ae5c3bea1..e638d6513 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -6367,9 +6367,9 @@ static int atcommand_cleanmap_sub(struct block_list *bl, va_list ap)
int atcommand_cleanmap(const int fd, struct map_session_data* sd, const char* command, const char* message)
{
- map_forsomeinarea(atcommand_cleanmap_sub, sd->bl.m,
+ map_foreachinarea(atcommand_cleanmap_sub, sd->bl.m,
sd->bl.x-AREA_SIZE*2, sd->bl.y-AREA_SIZE*2,
- sd->bl.x+AREA_SIZE*2, sd->bl.y+AREA_SIZE*2,0,
+ sd->bl.x+AREA_SIZE*2, sd->bl.y+AREA_SIZE*2,
BL_ITEM);
clif_displaymessage(fd, "All dropped items have been cleaned up.");
return 0;
@@ -7593,9 +7593,9 @@ int atcommand_mutearea(const int fd, struct map_session_data* sd, const char* co
time = atoi(message);
- map_forsomeinarea(atcommand_mutearea_sub,sd->bl.m,
+ map_foreachinarea(atcommand_mutearea_sub,sd->bl.m,
sd->bl.x-AREA_SIZE, sd->bl.y-AREA_SIZE,
- sd->bl.x+AREA_SIZE, sd->bl.y+AREA_SIZE, 0, BL_PC, sd->bl.id, time);
+ sd->bl.x+AREA_SIZE, sd->bl.y+AREA_SIZE, BL_PC, sd->bl.id, time);
return 0;
}