summaryrefslogtreecommitdiff
path: root/spritecache.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-07-06 06:18:53 +0000
committertron <tron@openttd.org>2005-07-06 06:18:53 +0000
commit718a41f5171d180b8a20b6a2f31e8abefaf47763 (patch)
treebbc14772dc62a3f6736dad36253c7061a5be0da7 /spritecache.c
parent784420e706d2a3a17a1f7b411016465f6907f8a8 (diff)
downloadopenttd-718a41f5171d180b8a20b6a2f31e8abefaf47763.tar.xz
(svn r2523) Readd a comment which got lost in r2522
Diffstat (limited to 'spritecache.c')
-rw-r--r--spritecache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/spritecache.c b/spritecache.c
index 27eb6f2f7..bcda05d48 100644
--- a/spritecache.c
+++ b/spritecache.c
@@ -185,7 +185,7 @@ static void* ReadSprite(SpriteID id)
sprite = AllocSprite(sizeof(*sprite) + num);
_sprite_ptr[id] = sprite;
sprite->info = type;
- sprite->height = (id != 142) ? height : 10;
+ sprite->height = (id != 142) ? height : 10; // Compensate for a TTD bug
sprite->width = width;
sprite->x_offs = FioReadWord();
sprite->y_offs = FioReadWord();