<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

Reply via email to