summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-17 20:03:29 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-17 20:03:29 +0000
commit3bb42dda4732f3288155725bd26da76822c10021 (patch)
tree49a675c5675a095e3641f85cafef08801fec3751 /src/map/atcommand.c
parentfed863883b19c7bac0f1a65e53c6507fde6758f0 (diff)
downloadhercules-3bb42dda4732f3288155725bd26da76822c10021.tar.gz
hercules-3bb42dda4732f3288155725bd26da76822c10021.tar.bz2
hercules-3bb42dda4732f3288155725bd26da76822c10021.tar.xz
hercules-3bb42dda4732f3288155725bd26da76822c10021.zip
Made OnTouch zone dimensions be stored as radius instead of diameter.
Cleaned up some overly complicated area calculations. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11750 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 325177565..3cbe1f885 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -5512,7 +5512,7 @@ int atcommand_addwarp(const int fd, struct map_session_data* sd, const char* com
return -1;
}
- nd = npc_add_warp(sd->bl.m, sd->bl.x, sd->bl.y, 1, 1, m, x, y);
+ nd = npc_add_warp(sd->bl.m, sd->bl.x, sd->bl.y, 2, 2, m, x, y);
if( nd == NULL )
return -1;