# HG changeset patch # User peter1138 # Date 1167764163 0 # Node ID 8ad0e96437e0949e5b5f3814665e6c48312246f2 # Parent e6633aa2c817279f4a77573e2f2acf04b1604636 (svn r7758) -Codechange: Change SpriteGroup pool allocation from 16 items to 512 items at a time, as with a few sets loaded there can easily be 10,000+ items in the pool. diff -r e6633aa2c817 -r 8ad0e96437e0 newgrf_spritegroup.c --- a/newgrf_spritegroup.c Tue Jan 02 18:43:25 2007 +0000 +++ b/newgrf_spritegroup.c Tue Jan 02 18:56:03 2007 +0000 @@ -11,7 +11,7 @@ static void SpriteGroupPoolCleanBlock(uint start_item, uint end_item); static uint _spritegroup_count = 0; -STATIC_OLD_POOL(SpriteGroup, SpriteGroup, 4, 8000, NULL, SpriteGroupPoolCleanBlock) +STATIC_OLD_POOL(SpriteGroup, SpriteGroup, 9, 250, NULL, SpriteGroupPoolCleanBlock) static void DestroySpriteGroup(SpriteGroup *group) {