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

pull/155/head
peter1138 18 years ago
parent 2128dbec13
commit fc3d714621

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

Loading…
Cancel
Save