to investigate the underlying cause
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9592
d7cf8633-e32d-0410-b094-
e92efae38249
state->width = width;
state->height = height;
state->currentY = 0;
state->width = width;
state->height = height;
state->currentY = 0;
- state->rows = Mem_Alloc(tempmempool, state->height * sizeof(*state->rows));
+ state->rows = Mem_Alloc(loadmodel->mempool, state->height * sizeof(*state->rows));
for (y = 0;y < state->height;y++)
{
state->rows[y].currentX = 0;
for (y = 0;y < state->height;y++)
{
state->rows[y].currentX = 0;