summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
Diffstat (limited to 'src/map')
-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 )