List initialize ai_local ailp

This commit is contained in:
Kp 2014-07-04 03:50:26 +00:00
parent a48e3e421a
commit bc7a8eb600

View file

@ -422,7 +422,7 @@ void init_ai_object(object *objp, int behavior, int hide_segment)
ai_static *aip = &objp->ctype.ai_info;
ai_local *ailp = &objp->ctype.ai_info.ail;
memset(ailp, 0, sizeof(ai_local));
*ailp = {};
if (behavior == 0) {
behavior = AIB_NORMAL;