The size variable is used to track the size of the text buffers for
each node for allocation purposes. These never get smaller, and
the cbuf->size variable decrements based on length rather than
size. Eventually this causes an integer overflow.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12976
d7cf8633-e32d-0410-b094-
e92efae38249
current->delay -= eat;
if(current->delay <= 0)
{
- cbuf->size += current->size;
+ cbuf->size += current->length;
List_Move(pos, &cbuf->start);
// We must return and come back next frame or the engine will freeze. Fragile... like glass :3
return;