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

 /**************************************************************************
-...
-**************************************************************************/
-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.

-jason



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

Reply via email to