mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-05 03:49:37 +01:00
(svn r4895) - NewGRF: don't allocate memory for any sprite groups until it is actually needed.
This commit is contained in:
parent
d02f2ec1e6
commit
afd69f53f5
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user