summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-08-31 23:12:57 +0000
committerrubidium <rubidium@openttd.org>2008-08-31 23:12:57 +0000
commit886c8ec79fa534ff9f660c96a02f606dd55eb035 (patch)
tree368e8af33deba6cae5d7bf03f7097a609b7adac5 /src
parentfb585023982c10021864481e1046179424784ad0 (diff)
downloadopenttd-886c8ec79fa534ff9f660c96a02f606dd55eb035.tar.xz
(svn r14214) -Codechange: move another TTD graphics bug into the GRF; height problem of sprite #142.
Diffstat (limited to 'src')
-rw-r--r--src/spritecache.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/spritecache.cpp b/src/spritecache.cpp
index 616eb59b1..629e519f0 100644
--- a/src/spritecache.cpp
+++ b/src/spritecache.cpp
@@ -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);