Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2005:
[Freeciv-Dev] Re: (PR#12781) Create AI guard API
Home

[Freeciv-Dev] Re: (PR#12781) Create AI guard API

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: badamson@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#12781) Create AI guard API
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 17 Apr 2005 23:03:53 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12781 >

Per I. Mathisen wrote:

>>>They can? The assumption that they can not is made in several places in
>>>the current bodyguard code. Can someone confirm whether the IDs are
>>>distinct?
>>
>>Even if that's true, I don't think the code should make this assumption.
>>Just use separate variables.
> 
> Come on, the original coders went to great pains to ensure that this
> _feature_ exists, and it has worked flawlessly for so long, so why not use
> it?

Heh.  I've never heard of it before.

1.  Where is it documented?

2.  Note that using separate variables will make the code faster.

-jason





[Prev in Thread] Current Thread [Next in Thread]