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 Submit Patch #4582 Inventory code fixes
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
    Submit Patch
  • 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
Issue details
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/patches/455 Item 455] imported from sourceforge.net tracker on 2013-01-28 20:39:33

Com_RemoveFromInventory and Com_AddToInventory return values must be checked
removed INVSH_InvUnusedRevert - this was only used in the game - which is unloaded anyway after each map (maybe a memset is still missing there, but a revert is imo NOT needed in any case)
Com_AddToInventory uses Com_FindSpace to find a free spot - but ignored the return values if x or y where NONE

===== Comments Ported from Sourceforge =====

====== tlh2000 (2010-01-09 13:32:23) ======


====== tlh2000 (2010-01-12 19:25:32) ======

most of this was applied to trunk
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif