Re: [Warzone-dev] Patch: Severe pointer abuse in design.c (Finally a x86_64 bug! )

2007-02-11 Thread Gerard Krol
The Watermelon wrote: On 2/10/07, *Gerard Krol* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi all, As some of you may know, power required and hit points of droid parts are stored in central arrays. Individual body types are an index into this array and are used like

[Warzone-dev] Patch: Severe pointer abuse in design.c (Finally a x86_64 bug! )

2007-02-10 Thread Gerard Krol
Hi all, As some of you may know, power required and hit points of droid parts are stored in central arrays. Individual body types are an index into this array and are used like this: (asBodyStats + psTemplate-asParts[COMP_BODY])-buildPower The code in intSetTemplatePowerShadowStats and