Page 1 of 1

Has anyone else got assertion: ai_instance.cpp:420?

Posted: 07 May 2010 16:15
by Zuu
Recently I've at a few times I've got an assertion on line 420 in ai_instance.cpp when I unpause after having used the break on log string feature. Is this anything you also have experienced?

I've made a quick fix at: FS#3818. However, I don't fully understand why it happens, so I would be glad to know both if other people has got the assertion and if someone who knows DoCommands related to the _***_company vars in OpenTTD could take a look at it.

Re: Has anyone else got assertion: ai_instance.cpp:420?

Posted: 08 May 2010 11:00
by Zuu
Good news, I've been able to reliable reproduce the assert using a tiny AI. Now I think I've fully understood why it happens and that the fix should be ok. More details are at the FS task along with the assert reproduction AI.

Would be happy if Yexo or someone else could take a look and unless I've made anything stupid commit it.