Page 1 of 1

A minor change to multilimit.cpp

Posted: 21 Sep 2012, 01:32
by Goth Zagog-Thou
Howdy folks. I know it's been a while since I posted here on the forums.

This is to address 'Too many structure stats' assertions in the log.

multilimit.cpp: 370

Code: Select all

// Prepare chunk
	ASSERT(numStructureStats < 512, "Too many structure stats"); // orig UBYTE_MAX
	for (i = 0; i < numStructureStats; i++)
	{
		if (asStructLimits[0][i].limit != LOTS_OF)
		{
			ASSERT(idx < numchanges, "Bad number of changed limits");
			pEntry[idx].id		= i;
			pEntry[idx].limit	= asStructLimits[0][i].limit;
			idx++;
		}
	}
I hope this is useful. :)