UFO:Alien Invasion

Technical support => Bugs in stable version (2.5) => Topic started by: Wolls on November 22, 2012, 08:39:52 pm

Title: Inventory Assertion Fail
Post by: Wolls on November 22, 2012, 08:39:52 pm
   There appears to be a glitch with the Electromagnetic Rifle Magazine which allows you to stack them improperly (See:  screen caps One through Three).  At Three, the game (if you load a save or entering of mission) will reset the overlapping Mag back to screen One in the soldier inventory.  But if you force it (take away all other available space) as in screen Four, then attempt to enter a mission or load a save you get the assertion pop-up (something like)--->

Window Pop-Up:

Assertion Failed!
Program: C:\blahblah\ufo.exe
File: src/game/inventory.cpp
Line: 112

Expression: checkedTo


You have options to Abort, Retry (debug - JIT must be enabled) or just ignore.  If you ignore (Screen 5) the items just overlap.
   * - Attempting to Retry (w/o JIT) will result a crash (crashdump)

   I've tried this other items but the Electro Mag is the only one that seems to allow this (although I didn't check them all).  Ufoconsole is a new start/attempt to load (much smaller) and the save which forces it.

::UFO: Alien Invasion 2.5-dev IA-32 Nov 22 2012 DEBUG build 1353542701::
Title: Re: Inventory Assertion Fail
Post by: Wolls on November 22, 2012, 08:41:18 pm
the other files: