[Freeciv-Dev] Re: Criticism
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Dear diary, on Fri, Dec 07, 2001 at 02:38:40AM CET, I got a letter,
where Raahul Kumar <raahul_da_man@xxxxxxxxx> told me, that...
> Just been reading advdomestic.c.
>
> /* if (choice->want > 100) choice->want = 100; */ /* want > 100 means
> BUY RIGHT NOW */
>
> /* FIXME: rather (choice->want <= 0) --rwetmore */
>
> I do not like either change. Elsewhere in the ai code it claims choice-want
> is in the range 0-100. I realise in fact that is actually not the case. I'd
> like it if you would actually make the change so that it is in the range
> 0-100.
This was commented before as well. Sorry, but really no behaviour changes in
AI for now. And now I believe that:
/* allowing buy of peaceful units after much testing -- Syela */
is related to that.
Testing for choice.want will be probably in separate patch, as there are
more places where this should be corrected (see Ross' corecleanup patch).
--
Petr "Pasky" Baudis
UN*X programmer, UN*X administrator, hobbies = IPv6, IRC, FreeCiv hacking
.
"A common mistake that people make, when trying to design
something completely foolproof is to underestimate the
ingenuity of complete fools."
-- Douglas Adams in Mostly Harmless
.
Public PGP key, geekcode and stuff: http://pasky.ji.cz/~pasky/
- [Freeciv-Dev] settlers & players territory, mateusz stefek, 2001/12/06
- [Freeciv-Dev] Re: settlers & players territory, Petr Baudis, 2001/12/06
- [Freeciv-Dev] Criticism, Raahul Kumar, 2001/12/06
- [Freeciv-Dev] Re: Criticism, Ross W. Wetmore, 2001/12/07
- [Freeciv-Dev] Re: Criticism, Raahul Kumar, 2001/12/07
- [Freeciv-Dev] Re: Criticism, Petr Baudis, 2001/12/08
- [Freeciv-Dev] Re: Criticism, Raahul Kumar, 2001/12/09
|
|