bugFreeciv - Bugs: bug #20546, Autosettler evaluates road bonus...

Show feedback again

bug #20546: Autosettler evaluates road bonus of the road being built as one of the old road

Submitted by:  Marko Lindqvist <cazfi>
Submitted on:  Thu Feb 21 07:42:25 2013  
Category: aiSeverity: 3 - Normal
Priority: 5 - NormalStatus: Fixed
Assigned to: Marko Lindqvist <cazfi>Open/Closed: Closed
Release: Operating System: None
Planned Release: 2.5.0Contains string changes: None

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Mon Feb 25 16:31:21 2013, SVN revision 22440:

Get move bonus from old roads correctly when evaluating how much
better new road would be.

See bug #20546

(Browse SVN revision 22440)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Thu Feb 21 07:42:25 2013, original submission:

For evaluating move bonus improvements of building new road autosettler needs to figure out old move bonus (e.g., when it considers building Railroad and there already is Road). There it mistakenly uses move bonus of the road being considered for building instead of the move bonus of the existing road.

Fix attached.

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.


(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files
file #17301:  OldRoad.patch added by cazfi (962B - text/x-diff)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by cazfi (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon Feb 25 16:31:32 2013cazfiStatusReady For Test=>Fixed
      Assigned toNone=>cazfi
    Thu Feb 21 07:49:26 2013cazfiSummaryAutosettler evaluates old road bonus as one of the road being built=>Autosettler evaluates road bonus of the road being built as one of the old road
    Thu Feb 21 07:42:25 2013cazfiAttached File-=>Added OldRoad.patch, #17301
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup