summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index a8b9aa8cb..ceec6c25f 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -1874,7 +1874,8 @@ static int mob_ai_sub_lazy(void * key,void * data,va_list app)
nullpo_retr(0, md);
nullpo_retr(0, app);
- nullpo_retr(0, ap=va_arg(app,va_list));
+
+ ap=va_arg(app,va_list);
if(md->bl.type!=BL_MOB)
return 0;