diff options
Diffstat (limited to 'src/map/mob.c')
-rw-r--r-- | src/map/mob.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index 9e0c9b08a..c6248ca56 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -1419,7 +1419,7 @@ static int mob_ai_sub_lazy(DBKey key,void * data,va_list app) nullpo_retr(0, md);
nullpo_retr(0, app);
- if(md->bl.type!=BL_MOB)
+ if(md->bl.type!=BL_MOB || md->bl.prev == NULL)
return 0;
ap = va_arg(app, va_list);
|