mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r2523) Readd a comment which got lost in r2522
This commit is contained in:
parent
784420e706
commit
718a41f517
@ -185,7 +185,7 @@ static void* ReadSprite(SpriteID id)
|
|||||||
sprite = AllocSprite(sizeof(*sprite) + num);
|
sprite = AllocSprite(sizeof(*sprite) + num);
|
||||||
_sprite_ptr[id] = sprite;
|
_sprite_ptr[id] = sprite;
|
||||||
sprite->info = type;
|
sprite->info = type;
|
||||||
sprite->height = (id != 142) ? height : 10;
|
sprite->height = (id != 142) ? height : 10; // Compensate for a TTD bug
|
||||||
sprite->width = width;
|
sprite->width = width;
|
||||||
sprite->x_offs = FioReadWord();
|
sprite->x_offs = FioReadWord();
|
||||||
sprite->y_offs = FioReadWord();
|
sprite->y_offs = FioReadWord();
|
||||||
|
Loading…
Reference in New Issue
Block a user