I'm playing a modded game I just encountered and issue.
There are no mods affecting inventory boxes or the medikits themselves.
But if I try to go to a UFO site with medi-kits in the backpacks before landing, I get an error at around line 291 in Game.ccp
while(i != _states.begin() && !(*i)->isScreen());
for (; i != _states.end(); ++i)
{
(*i)->blit();
}
_fpsCounter->blit(_screen->getSurface());
_cursor->blit(_screen->getSurface());
_screen->flip();
If I pull the medikits out of people's backpacks before landing the issue goes away.
EDIT: Further investigation has to do with something about the handobj. I've not changed it so...
Any idea what could be causing this?