Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2002:
[Freeciv-Dev] Re: (PR#1364) Assertion fails in get_role_unit()
Home

[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]
To: pasky@xxxxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#1364) Assertion fails in get_role_unit()
From: "Raimar Falke via RT" <rt@xxxxxxxxxxxxxx>
Date: Tue, 19 Nov 2002 09:07:59 -0800
Reply-to: rt@xxxxxxxxxxxxxx

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."



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