Complete.Org: Mailing Lists: Archives: freeciv-ai: January 2003:
[freeciv-ai] Re: Goto coordinates and ai roles
Home

[freeciv-ai] Re: Goto coordinates and ai roles

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Freeciv AI development <freeciv-ai@xxxxxxxxxxx>
Subject: [freeciv-ai] Re: Goto coordinates and ai roles
From: Gregory Berkolaiko <Gregory.Berkolaiko@xxxxxxxxxxxx>
Date: Wed, 29 Jan 2003 20:12:38 +0000 (GMT)

On Wed, 29 Jan 2003, Raimar Falke wrote:

> On Tue, Jan 28, 2003 at 03:22:25PM +0000, Gregory Berkolaiko wrote:
> > Anyway, unless there are plans to point that pointer to somewhere else in 
> > the future, bool is both enough to make it work and easier to understand.
> 
> I agree with Per: a null-pointer will be catched in every
> case. However you can miss to check for the bool.

It doesn't help you catch the case where you forgot to unset it.

But if you do the pointer, Ross' suggestion is the best I think.

G.



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