From afd69f53f59b5bf1e4c51b56434931e62f186180 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Wed, 17 May 2006 07:16:49 +0000 Subject: (svn r4895) - NewGRF: don't allocate memory for any sprite groups until it is actually needed. --- newgrf_spritegroup.c | 1 - 1 file changed, 1 deletion(-) diff --git a/newgrf_spritegroup.c b/newgrf_spritegroup.c index d6ae1a98f..110bab1ef 100644 --- a/newgrf_spritegroup.c +++ b/newgrf_spritegroup.c @@ -65,7 +65,6 @@ SpriteGroup *AllocateSpriteGroup(void) void InitializeSpriteGroupPool(void) { CleanPool(&_spritegroup_pool); - AddBlockToPool(&_spritegroup_pool); _spritegroup_count = 0; } -- cgit v1.2.3-70-g09d2