Ok, couldn't figure out how to get a stack trace (nothing I switched on or off was giving a stack).
In addition to that error, if I ignore it, it causes the same error (assertation failed) on another line...
/**
* @brief Write an item to the network buffer
* @param[in,out] item @c item_t being send through net.
* @param[in,out] container Container which is being updated with item sent.
* @param[in] x Position of item in given container.
* @param[in] y Position of item in given container.
* @sa CL_NetReceiveItem
* @sa EV_INV_TRANSFER
*/
void G_WriteItem (item_t item, const invDef_t *container, int x, int y)
{
[color=red]assert(item.t);[/color]
gi.WriteFormat("sbsbbbbs", item.t->idx, item.a, item.m ? item.m->idx : NONE, container->id, x, y, item.rotated, item.amount);
}
Ignoring that fault throws a sig fault.
Think I'm at about my limit here, will await ideas.