diff options
author | peter1138 <peter1138@openttd.org> | 2006-05-17 07:16:49 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-05-17 07:16:49 +0000 |
commit | afd69f53f59b5bf1e4c51b56434931e62f186180 (patch) | |
tree | 3b5aac72e1be024281f7397c0fdb6054ec93ede4 | |
parent | d02f2ec1e617c531695c34597493d407b8139ff3 (diff) | |
download | openttd-afd69f53f59b5bf1e4c51b56434931e62f186180.tar.xz |
(svn r4895) - NewGRF: don't allocate memory for any sprite groups until it is actually needed.
-rw-r--r-- | newgrf_spritegroup.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; } |