summaryrefslogtreecommitdiff
path: root/src/newgrf_spritegroup.h
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2011-02-19 23:05:47 +0000
committersmatz <smatz@openttd.org>2011-02-19 23:05:47 +0000
commit756cc6cf651aa5650f055c70f31f7e07391be8c6 (patch)
tree8bf5af85e6523ad91ce99606e2b068b9f7513976 /src/newgrf_spritegroup.h
parent642fb19d4fe4fbb249ddc314f75a35282ce6d28d (diff)
downloadopenttd-756cc6cf651aa5650f055c70f31f7e07391be8c6.tar.xz
(svn r22116) -Codechange: use PoolBase::Clean() at more places
Diffstat (limited to 'src/newgrf_spritegroup.h')
-rw-r--r--src/newgrf_spritegroup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_spritegroup.h b/src/newgrf_spritegroup.h
index 232382cba..da4d5e5df 100644
--- a/src/newgrf_spritegroup.h
+++ b/src/newgrf_spritegroup.h
@@ -52,7 +52,7 @@ typedef uint32 SpriteGroupID;
/* SPRITE_WIDTH is 24. ECS has roughly 30 sprite groups per real sprite.
* Adding an 'extra' margin would be assuming 64 sprite groups per real
* sprite. 64 = 2^6, so 2^30 should be enough (for now) */
-typedef Pool<SpriteGroup, SpriteGroupID, 1024, 1 << 30> SpriteGroupPool;
+typedef Pool<SpriteGroup, SpriteGroupID, 1024, 1 << 30, PT_DATA> SpriteGroupPool;
extern SpriteGroupPool _spritegroup_pool;
/* Common wrapper for all the different sprite group types */