summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authorInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-05-10 03:13:47 +0000
committerInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-05-10 03:13:47 +0000
commit1df3944aebe5865e7e827560b699d35913c84a88 (patch)
treee08466816dc2bf29bd038ef57dabd00212b96ccf /src/map/npc.c
parent3598cc2dfa92b2408c2baa6cfd7434b8a170e70d (diff)
downloadhercules-1df3944aebe5865e7e827560b699d35913c84a88.tar.gz
hercules-1df3944aebe5865e7e827560b699d35913c84a88.tar.bz2
hercules-1df3944aebe5865e7e827560b699d35913c84a88.tar.xz
hercules-1df3944aebe5865e7e827560b699d35913c84a88.zip
* A typo on my last commit
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13748 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 d4f0036bb..affa5838a 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -1460,7 +1460,7 @@ int npc_unload(struct npc_data* nd)
{
const struct TimerData *td = get_timer(sd->npc_timer_id);
- if( td && td->id == nd->bl.id )
+ if( td && td->id != nd->bl.id )
continue;
if( td && td->data )