mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-22 15:11:54 +00: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)
|
||||
{
|
||||
CleanPool(&_spritegroup_pool);
|
||||
AddBlockToPool(&_spritegroup_pool);
|
||||
|
||||
_spritegroup_count = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user