UFO: Alien Invasion Issue Tracker
previous_open_issue.png
Go to the previous open issue
previous_issue.png
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
bug_report_small.png
Closed Bug report #5101 Out of range information not passed to UI reaction fire panel
next_issue.png
Go to the next issue (open or closed)
next_open_issue.png
Go to the next open issue
icon_info.png This issue has been closed with status "Closed" and resolution "RESOLVED".
Description
The confuncs reactionfire_addtarget and reactionfire_updatetarget both accept a boolean indicating when the target is out of range. This boolean appears to be always false, as the if blocks checking these parameters are always skipped. I tested this by printing a string to the console when the confunc was triggered and another inside the if block. The latter never appeared, even though there were clear instances when the soldier could have fired but was out of range. The RF seems to work correctly. The soldier does not fire. However, there is no indication of this on the RF panel.
Steps to reproduce this issue
I will attach a .map file with long distance spawn points as well as a .ufo mapdef for it. You may need to reload a few times to get an alien spawning in one of the long-distance positions. Alternatively, you can try any map with very short-range weapons.
Comments (3)
History
Issue basics
  • Type of issue
    Bug report
  • Category
    User interface
  • Targetted for
    2.5
  • Status
    Closed
  • Progress
  • Priority
    Not determined
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
  • Time spent
    0.01 hours
    Click here to see time logged against this issue
Issue details
  • Resolution
    RESOLVED
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Complexity
    Normal
  • Platform
    Not determined
  • Architecture
    x86
Attachments (2)
  • icon_download.png Map def
    maps_firing_range.ufo uploaded Aug 30, 2013 by unknown user
  • icon_download.png firing range map
    firing_range.map uploaded Aug 30, 2013 by unknown user
Duplicate issues (0)