FIXED 5.0.12 - fire support data not updating correctly

Discussion in 'CO2 - Game Support' started by pierreoza, May 4, 2015.

  1. pierreoza

    pierreoza Member

    Joined:
    Dec 4, 2014
    Messages:
    19
    Likes Received:
    1
    Hi

    Click on the button FS on the tool bar and click on the first item - u must have several assets -.

    The right ammo panel stay empty.

    Click on the second item on the list box and the right ammo panel is updated.

    After u can select the first item and the right ammo panel will be updated.

    thx.
     
  2. Dave 'Arjuna' O'Connor

    Dave 'Arjuna' O'Connor Panther Games Designer

    Joined:
    Jul 31, 2014
    Messages:
    3,220
    Likes Received:
    416
    Interesting. It appears that it's only the first time the dialog is opened that this behaviour occurs.
     
  3. Dave 'Arjuna' O'Connor

    Dave 'Arjuna' O'Connor Panther Games Designer

    Joined:
    Jul 31, 2014
    Messages:
    3,220
    Likes Received:
    416
    This proved to be a tricky one. At first I thought I had licked it by ensuring that the flag for isCurrentlySelecting was updated correctly, which it wasn't doing so. But this only addressed part of the problem. I had to rewrite the OnSelectionChanged() to cater for all the possible cases of selecting within the list, selecting a unit on the map and clicking off on the map. Now if you select a unit on the map and it is in the arty list of the FS dialog it will select it in the dialog and display its details.

    FIXED
     
  4. pierreoza

    pierreoza Member

    Joined:
    Dec 4, 2014
    Messages:
    19
    Likes Received:
    1

Share This Page