summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-29 22:08:09 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-29 22:08:09 +0000
commit455fad7b177bdcf242ab7e5c0c04d2045deb6873 (patch)
tree8478e92bec6f9881d287377923ccc6dbf2848327 /src/map/npc.c
parent8a9600ded15d1846c9e38de0b660a0f6a72e20a9 (diff)
downloadhercules-455fad7b177bdcf242ab7e5c0c04d2045deb6873.tar.gz
hercules-455fad7b177bdcf242ab7e5c0c04d2045deb6873.tar.bz2
hercules-455fad7b177bdcf242ab7e5c0c04d2045deb6873.tar.xz
hercules-455fad7b177bdcf242ab7e5c0c04d2045deb6873.zip
- Fixed compiltation error ~.~ I was sure I compiled before the previous commit...
- Corrected a null pointer error when a non-player uses amplify magic power. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9743 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index a996b2112..afdbb6b25 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -1012,7 +1012,7 @@ int npc_touch_areanpc2(struct block_list *bl)
int npc_check_areanpc(int flag,int m,int x,int y,int range)
{
int i;
- int x0,y0,y0,y1;
+ int x0,y0,x1,y1;
int xs,ys;
if (range < 0) return 0;