On 1/28/07, Giel van Schijndel <[EMAIL PROTECTED]> wrote:
Thanks for your answer, fixed it in r684. Also added an explaining comment that updateAttackTarget always has to be called on the first weapon-slot (i.e. 0). PS all you where originally checking in your patch was `psDroid->numWeaps != 0' for the for-iteration or ==0 for the other call. -- Giel
Those 'psDroid->numWeaps != 0' were some commented-out lines by pumpkin(Think they did plan to implement multi-turret,but gave up due to limited time),I re-enabled them and a property called 'numWeaps' of struct 'droid'/DROID in droiddef.h line 202 when adding the multi-turret supports,to separate the update function for utility and weapon ai routines.
_______________________________________________ Warzone-dev mailing list [email protected] https://mail.gna.org/listinfo/warzone-dev
