When gerard change shadow code, he do, in display3d.c // HACK to be able to use static shadows for walls // We just store a separate IMD for each direction static iIMDShape otherDirections[3]; static BOOL directionSet[3] = {FALSE, FALSE, FALSE}; .... .... Very bad to use static here, since on multiple runs of games, these vars retain old game values, and when try to access, it cause access error, since memory was free, but static vars never clear so it no know this. This why crash bug #9235.
Same true for other static vars in other functions that use malloc but never use free, and also have same problem as above. How fix best way? Change to global, and then on one cleanup stage, clear these? -- Click to find great rates on medical insurance, save big, shop here http://tagline.hushmail.com/fc/Ioyw6h4d8QNDo6w88tszxHGxpb1GRBBfpxIEyD8ip1wkEurUmbKDnw/ _______________________________________________ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev