1
Bugs in older version (2.3.1) / Game crash-assertion failed-expression-ic->item.t
« on: June 27, 2010, 08:52:50 pm »
Hello. That problem.
Version ufoai-2.3 stable.
I kill all enemy in mission, but game crash after message-you win.
"LoadMap: "-village/vil_ +c01 +c04 +craft_drop_firebird +craft_ufo_harvester +c01 +s02 +h01 +s07 +s02 +r01 +s02 +d03 +s02 +d02 +s07 +d02 +s05 +d03 +d07 +d04 +d04 +r03 +s04 +d05" "0 0 0 16 8 0 -32 -16 0 -8 -32 0 -32 0 0 -16 0 0 -16 8 0 -8 0 0 16 0 0 -32 -32 0 24 0 0 -16 -24 0 -32 24 0 -8 -8 0 -24 24 0 0 -8 0 -16 24 0 -8 24 0 0 24 0 8 24 0 16 24 0 24 24 0 -8 -32 0 -16 -32 0"
[STATS] End of game - Team 1 is the winner
[STATS] Soldier nibelungen earned 1118 experience points in skill #9 (total experience: 22877). It is now 26 higher.
"(c) ufoconsole.log
In file \src\game\g_inventory.c
in line 298 that text
" G_EventInventoryAdd(ent, playerMask, nr);
for (container = 0; container < gi.csi->numIDs; container++) {
for (ic = CONTAINER(ent, container); ic; ic = ic->next) {
/* send a single item */
assert(ic->item.t);
G_WriteItem(&ic->item, INVDEF(container), ic->x, ic->y);
"
How to do correct this error?
Version ufoai-2.3 stable.
I kill all enemy in mission, but game crash after message-you win.
"LoadMap: "-village/vil_ +c01 +c04 +craft_drop_firebird +craft_ufo_harvester +c01 +s02 +h01 +s07 +s02 +r01 +s02 +d03 +s02 +d02 +s07 +d02 +s05 +d03 +d07 +d04 +d04 +r03 +s04 +d05" "0 0 0 16 8 0 -32 -16 0 -8 -32 0 -32 0 0 -16 0 0 -16 8 0 -8 0 0 16 0 0 -32 -32 0 24 0 0 -16 -24 0 -32 24 0 -8 -8 0 -24 24 0 0 -8 0 -16 24 0 -8 24 0 0 24 0 8 24 0 16 24 0 24 24 0 -8 -32 0 -16 -32 0"
[STATS] End of game - Team 1 is the winner
[STATS] Soldier nibelungen earned 1118 experience points in skill #9 (total experience: 22877). It is now 26 higher.
"(c) ufoconsole.log
In file \src\game\g_inventory.c
in line 298 that text
" G_EventInventoryAdd(ent, playerMask, nr);
for (container = 0; container < gi.csi->numIDs; container++) {
for (ic = CONTAINER(ent, container); ic; ic = ic->next) {
/* send a single item */
assert(ic->item.t);
G_WriteItem(&ic->item, INVDEF(container), ic->x, ic->y);
"
How to do correct this error?