diff options
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/npc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/npc.c b/src/map/npc.c index 0d6c9a9a9..05a58f92f 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -3147,6 +3147,11 @@ int npc_reload(void) aFree(map[m].moblist[i]); map[m].moblist[i] = NULL; } + if( map[m].mob_delete_timer != INVALID_TIMER ) + { // Mobs were removed anyway,so delete the timer [Inkfish] + delete_timer(map[m].mob_delete_timer, map_removemobs_timer); + map[m].mob_delete_timer = INVALID_TIMER; + } } } if (map[m].npc_num > 0) |