[Freeciv-Dev] Re: (PR#1364) Assertion fails in get_role_unit()
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Tue, Nov 19, 2002 at 08:01:51AM -0800, Gregory Berkolaiko via RT wrote:
>
> On Tue, 19 Nov 2002, Raimar Falke via RT wrote:
>
> > > Ah, ok. Did you mean to post a patch? There is none in RT, AFAICS.
> >
> > There is no problem in the CVS source -> no patch.
> >
> > Raimar
>
> I am missing something here...
> What is the point of creating a bug report if there is no bug?
ai/advdomestic.c:1.84 (from april 2002) contains:
unit_type = get_role_unit(F_HELP_WONDER, 0);
which is buggy.
The current version however contains:
if (num_role_units(F_HELP_WONDER) == 0) {
/* No such units available in the ruleset */
return;
}
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"Life is too short for reboots."
[Freeciv-Dev] Re: (PR#1364) Assertion fails in get_role_unit(), Gregory Berkolaiko via RT, 2002/11/19
|
|