(svn r4895) - NewGRF: don't allocate memory for any sprite groups until it is actually needed.

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
peter1138 18 years ago
parent d02f2ec1e6
commit afd69f53f5

@ -65,7 +65,6 @@ SpriteGroup *AllocateSpriteGroup(void)
void InitializeSpriteGroupPool(void)
{
CleanPool(&_spritegroup_pool);
AddBlockToPool(&_spritegroup_pool);
_spritegroup_count = 0;
}

Loading…
Cancel
Save