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 #324 Dropping non armor on person causes assert errors
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
    Campaign
  • 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/324 Item 324] imported from sourceforge.net tracker on 2013-01-28 18:18:28

Dropping any non-armor item on a solider (or just
outside any inventory container) causes 3 assert
errors. Actual error windows attached and read as follows:

Error 1:
Assertion Failed!
Program: C:\Program Files\UFOAI-2.O-RC4\ufo.exe
File: game/q_shared.c
Line: 2385
Expression: !Q_strcmp(CSI->ods[cacheItem.t].type, "armor")

Error 2:
Assertion Failed!
Program: C:\Program Files\UFOAI-2.O-RC4\ufo.exe
File: game/q_shared.c
Line: 2917
Expression:
!Q_strcmp(CSI->ods[chr->inv->c[CSI->idArmor]-
>item.t].type, "armor")

Error 3:
Assertion Failed!
Program: C:\Program Files\UFOAI-2.O-RC4\ufo.exe
File: game/q_shared.c
Line: 2946
Expression:
!Q_strcmp(CSI->ods[chr->inv->c[CSI->idArmor]-
>item.t].type, "armor")

Since I cant find any code in the source that checks to
see what kind of equipment is placed anywhere in either
client/cl_menu.c or game/q_shared.c, I'm guessing that
idArmor is set for non-armors, too?

mwilmes@wilminator.com
wilminator@sf.net

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

====== wilminator (2006-09-11 06:19:35) ======

Zipped error images
====== cassiterite (2006-09-11 10:24:25) ======

Logged In: YES
user_id=1171370

This issue was recently brought to our attention by:
http://sourceforge.net/tracker/index.php?func=detail&aid=1555349&group_id=157793&atid=805242

It has recently been fixed in the SVN version of the game
(soon to be release RC5 hopefully).

Thanks for finding and reporting bug issue nevertheless.
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