Looks like it's trying to spawn a merc that it couldn't load?
The crash can easily be avoided by checking for merc before calling spawn(merc, false); on line 5530 of merc.cpp. But I would also be interested in knowing what the templateId was when it crashed. What mercs do you have? Level?
Of course debugging into LoadMerc() to find why it's not returning a valid merc would be helpful. I'm assuming it's hitting something and jumping to the bottom where it returns 0. Knowing where would help tremendously.
|