Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2002:
[Freeciv-Dev] Re: [Patch] simple_ai_unit_type_iterate
Home

[Freeciv-Dev] Re: [Patch] simple_ai_unit_type_iterate

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: rf13@xxxxxxxxxxxxxxxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [Patch] simple_ai_unit_type_iterate
From: Mike Kaufman <kaufman@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 12 Mar 2002 12:08:31 -0600

On Tue, Mar 12, 2002 at 06:49:12PM +0100, Raimar Falke wrote:
> 
> 0.6% difference. But this is still a difference. So your approach is
> ok.
> 
> > so you get a bit of a better deal going with the second way --- nothing
> > horribly special though.
> 
> > attached is a modified patch that actually works.
> 
> What was wrong?

bad iterator. was iterating over 'i' instead of 'id'

-mike

> 
>       Raimar
> 
> -- 
>  email: rf13@xxxxxxxxxxxxxxxxx
>  "If at first you don't succeed... well so much for skydiving."


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