Menu

#3221 Mixup buy/sell in Europe when unit is equiped with tools

Fixed_0.12.0
closed-fixed
nobody
None
5
2022-05-01
2021-01-30
No

There is a mixup of buy/sell when a unit is equiped with tools in Europe.

See attached before and after screen-shot.

To equip with tools is a purchase of tools.
The total amount of gold is decreased correct, However, the purchase is recorded as a sell.

To recreate:
In Europe:
- purchase or train unit
- left click unit
- select "Equip with tools"

PR in Github: https://github.com/FreeCol/freecol/pull/85

1 Attachments

Discussion

  • Björn Gustafsson

    and screen-shot after

     
  • Calebrw

    Calebrw - 2021-02-08

    I've confirmed the bug. The price seems to be wrong too.

     
  • Mike Pope

    Mike Pope - 2021-04-13

    Fixed with the guts of Björn's PR in git.49f90f2.

    Setting to Pending.

     
  • Mike Pope

    Mike Pope - 2021-04-13
    • status: open --> pending-fixed
    • Group: Current --> Fixed_trunk
     
  • Mike Pope

    Mike Pope - 2022-05-01
    • Group: Fixed_trunk --> Fixed_0.12.0
     
  • Mike Pope

    Mike Pope - 2022-05-01
    • Status: pending-fixed --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB