Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2004:
[Freeciv-Dev] Re: (PR#10477) problems with changing rulesets
Home

[Freeciv-Dev] Re: (PR#10477) problems with changing rulesets

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#10477) problems with changing rulesets
From: "Vasco Alexandre da Silva Costa" <vasc@xxxxxxxxxxxxxx>
Date: Fri, 8 Oct 2004 03:26:12 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=10477 >

On Thu, 7 Oct 2004, Jason Short wrote:

>
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=10477 >
>
> I accidentally loaded a game in which I had a city building a
> blacksmith, in a server using the current default ruleset (which has no
> blacksmith).
>
> Of course there will be an error.  But the error is a server crash.
>
> #0  0x080bed47 in get_current_construction_bonus (pcity=0x85629b0,
>      effect_type=EFT_GROWTH_FOOD) at effects.c:1283
> 1283        effect_list_iterate(*get_building_effects(bldg,
> effect_type), peffect) {

Just need to check if the building exists then.

---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa






[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: (PR#10477) problems with changing rulesets, Vasco Alexandre da Silva Costa <=