summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-20 18:22:04 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-20 18:22:04 +0000
commite5f3913f7ed4f2f5785c48bd9ed363b8bc259b6d (patch)
treeb3fc31f59d2006310ccfb32df5cd0afe00fae09c /src/map/npc.c
parentdf87fb05f06f776e21c36f72de759094e1697f9a (diff)
downloadhercules-e5f3913f7ed4f2f5785c48bd9ed363b8bc259b6d.tar.gz
hercules-e5f3913f7ed4f2f5785c48bd9ed363b8bc259b6d.tar.bz2
hercules-e5f3913f7ed4f2f5785c48bd9ed363b8bc259b6d.tar.xz
hercules-e5f3913f7ed4f2f5785c48bd9ed363b8bc259b6d.zip
- Close confine won't get the bonus range on cast as other skills do due to exploits.
- Fixed a bug in setnpctimer checking out the wrong variable. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5347 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 9d6d25cbb..7bdba2a61 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -769,7 +769,7 @@ int npc_settimerevent_tick(struct npc_data *nd,int newtimer)
}
flag= sd->npc_timer_id != -1 ;
} else
- flag= nd->u.scr.timer != -1 ;
+ flag= nd->u.scr.timerid != -1 ;
if(flag)
npc_timerevent_stop(nd);
nd->u.scr.timer=newtimer;