Re: [Freeciv-Dev] (PR#39325) Fwd: Women's Suffrage in 2.1.0-beta3

2007-08-04 Thread Marko Lindqvist

http://bugs.freeciv.org/Ticket/Display.html?id=39325 >

On 05/04/07, Dawn Lepard <[EMAIL PROTECTED]> wrote:
>
> On the Target Worklist and Source Tasks, Women's Suffrage appears to
> be mixed up with Capitalization. I'm told that Women's Suffrage costs
> 5/turn (my town produces 5 resource).

 Flags for buildings are not initialized, causing flags sometimes to
be set for wrong buildings. Attached patch fixes this.


 - ML

diff -Nurd -X.diff_ignore freeciv/server/ruleset.c freeciv/server/ruleset.c
--- freeciv/server/ruleset.c	2007-08-03 22:01:12.0 +0300
+++ freeciv/server/ruleset.c	2007-08-04 19:33:53.0 +0300
@@ -1340,6 +1340,8 @@
 }
 
 slist = secfile_lookup_str_vec(file, &nflags, "%s.flags", sec[i]);
+b->flags = 0;
+
 for(j=0; j___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


Re: [Freeciv-Dev] (PR#39325) Fwd: Women's Suffrage in 2.1.0-beta3

2007-04-05 Thread Dawn Lepard

http://bugs.freeciv.org/Ticket/Display.html?id=39325 >

On 4/4/07, Jason Dorje Short <[EMAIL PROTECTED]> wrote:
>
> Can you reproduce this from a savegame?  If so, can you send the
> savegame and instructions on what to do with it to get the bug?

Merely selecting "Women's Suffrage" seems to trigger the bug. I
discovered today that if there is something else in the Target
Worklist, that one turn later the city will do the next task.

Here's my savegame file. "Eyebrow" is, obviously, the city which is
trying to build Women's Suffrage.



Eyebrow-WSuffragebug.sav.gz
Description: GNU Zip compressed data
___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


Re: [Freeciv-Dev] (PR#39325) Fwd: Women's Suffrage in 2.1.0-beta3

2007-04-04 Thread Jason Dorje Short

http://bugs.freeciv.org/Ticket/Display.html?id=39325 >

Dawn Lepard wrote:
> http://bugs.freeciv.org/Ticket/Display.html?id=39325 >
> 
> -- Forwarded message --
> From: Dawn Lepard <[EMAIL PROTECTED]>
> Date: Apr 4, 2007 7:28 PM
> Subject: Women's Suffrage in 2.1.0-beta3
> To: [EMAIL PROTECTED]
> 
> 
> I'm playing freeciv 2.1.0-beta3, civ2 ruleset on WinXP.
> 
> On the Target Worklist and Source Tasks, Women's Suffrage appears to
> be mixed up with Capitalization. I'm told that Women's Suffrage costs
> 5/turn (my town produces 5 resource).
> 
> After I have freights build the wonder, the resources remaining
> returns to 600 at the next turn.
> 
> Huge screen capture included.
>

Can you reproduce this from a savegame?  If so, can you send the
savegame and instructions on what to do with it to get the bug?

-jason



___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev