forked from mirror/OpenTTD
(svn r4895) - NewGRF: don't allocate memory for any sprite groups until it is actually needed.
This commit is contained in:
@@ -65,7 +65,6 @@ SpriteGroup *AllocateSpriteGroup(void)
|
|||||||
void InitializeSpriteGroupPool(void)
|
void InitializeSpriteGroupPool(void)
|
||||||
{
|
{
|
||||||
CleanPool(&_spritegroup_pool);
|
CleanPool(&_spritegroup_pool);
|
||||||
AddBlockToPool(&_spritegroup_pool);
|
|
||||||
|
|
||||||
_spritegroup_count = 0;
|
_spritegroup_count = 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user