[Warzone-dev] a minor fix

2007-06-22 Thread The Watermelon
a minor fix to avoid excessive harmless asserts by projectile validity check macro when using memory debugger like MSVC when debugging. Index: src/projectile.c === --- src/projectile.c(revision 1555) +++ src/projectile.c(worki

Re: [Warzone-dev] a minor fix

2007-06-22 Thread Giel van Schijndel
The Watermelon schreef: > > a minor fix to avoid excessive harmless asserts by projectile validity > check macro when using memory debugger like MSVC when debugging. > I assume the problem you're trying to fix with this patch is that psAttacker = NULL at some times, and dereferencing this to retrie

Re: [Warzone-dev] a minor fix

2007-06-22 Thread The Watermelon
On 6/22/07, Giel van Schijndel <[EMAIL PROTECTED]> wrote: The Watermelon schreef: > > a minor fix to avoid excessive harmless asserts by projectile validity > check macro when using memory debugger like MSVC when debugging. > I assume the problem you're trying to fix with this patch is that psAt

Re: [Warzone-dev] a minor fix

2007-06-23 Thread Giel van Schijndel
The Watermelon schreef: > On 6/22/07, Giel van Schijndel <[EMAIL PROTECTED]> wrote: >> >> The Watermelon schreef: >>> a minor fix to avoid excessive harmless asserts by projectile validity >>> check macro when using memory debugger like MSVC when debugging. >> I assume the problem you're trying to

[Warzone-dev] a minor fix for targetAttackWeight

2007-04-28 Thread The Watermelon
fixed(hopefully) an assert/crash with null 'died' droid(all bits set to 0) got passed to targetAttackWeight,now it checks the 'died' flag of the target droid,in addition to the BASE_OBJECT psTarget NULL check at the beginning of that function. wzaifix.patch Description: Binary data _