UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Closed Bug report #1953 Fuel pods actually reduce range.
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "Not determined".
Issue basics
  • Type of issue
    Bug report
  • Category
    General
  • Targetted for
    Not determined
  • Status
    Closed
  • Priority
    3. Normal
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
Issue details
  • Resolution
    Not determined
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Complexity
    Not determined
  • Platform
    Not determined
  • Architecture
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
[http://sourceforge.net/p/ufoai/bugs/1953 Item 1953] imported from sourceforge.net tracker on 2013-01-28 19:14:56

I just noticed with the recent version(21092) that fuel pods actually decrease range instead of increasing it.
Thats true for all crafts availabe at the start.
Firebird goes from 27000 to 23800, Stiletto from 8800 to 8700 and Saracen from 11100 to 10300.

The error is definately in this line of cl_aircraft.c:
[code] Q_strcat(aircraftInfo, va(_("Operational range:\t%i km\n"), CL_AircraftMenuStatsValues(aircraft->stats[AIR_STATS_FUELSIZE] *
aircraft->stats[AIR_STATS_SPEED], AIR_STATS_OP_RANGE)), sizeof(aircraftInfo));
[/code]
I'm neither adept with the code, nor realy with C, but there is the fuel of the aircraft multiplied with the speed.
Meaning the faster the craft goes the farther it will get with it's fuel. right would be something that is based on fuel and weight(or size).
===== Comments Ported from Sourceforge =====

====== btaxis (2009-02-13 19:52:22) ======

This bug persists in r22621.
====== tlh2000 (2010-01-06 19:58:06) ======

assigning a fuel pod to an aircraft increases the operation range in r27875 - if the calculation should be done better - please file a feature request
====== markhawrylak (2010-01-16 00:52:41) ======

tested near r28047 unable to replicate issue
I believe this can be closed
Steps to reproduce this issue
Nothing entered.
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif