[Freeciv-Dev] (PR#39563) [Bug] AI doesn't want to build anything in trunk / default.ruleset

2008-02-12 Thread Jason Short

URL: http://bugs.freeciv.org/Ticket/Display.html?id=39563 

 [EMAIL PROTECTED] - Tue Feb 12 22:42:03 2008]:
 
 
/**
 -...

-**/
 -void copy_if_better_choice(struct ai_choice *cur, struct ai_choice *best)
 -{
 -  if (best-want  cur-want) {
 -best = cur;
 -  }
 -}
 
 Just catching up on a week of freeciv mail and noticing this
 now...but...surely the above function does nothing?  best = cur only
 assigns the pointer values, changing nothing in the actual data.

Ha!  Nevermind me.  Having read the rest of the ticket now I see that is
exactly the bug that caz is fixing.

-jason


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


[Freeciv-Dev] (PR#40094) Wrong choice of defender

2008-02-12 Thread Jason Short

URL: http://bugs.freeciv.org/Ticket/Display.html?id=40094 

It may be a foolish or misplaced bit of intelligence, but I'm pretty
sure the reason for this is that when you attack with the howitzer the
game judges the battle unwinnable and thus defends with the cheaper unit.

-jason


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