1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-09-02 03:19:10 +00:00

(svn r14214) -Codechange: move another TTD graphics bug into the GRF; height problem of sprite #142.

This commit is contained in:
rubidium
2008-08-31 23:12:57 +00:00
parent fb58502398
commit 886c8ec79f
6 changed files with 3 additions and 4 deletions

View File

@@ -252,7 +252,6 @@ static void* ReadSprite(SpriteCache *sc, SpriteID id, bool real_sprite)
sc->real_sprite = real_sprite;
if (!sprite_loader.LoadSprite(&sprite, file_slot, file_pos)) return NULL;
if (id == 142) sprite.height = 10; // Compensate for a TTD bug
sc->ptr = BlitterFactoryBase::GetCurrentBlitter()->Encode(&sprite, &AllocSprite);
free(sprite.data);