summaryrefslogtreecommitdiff
path: root/src/sprite.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-07-04 14:45:51 +0000
committerrubidium <rubidium@openttd.org>2008-07-04 14:45:51 +0000
commit173f0f4cd56942b2706bfea88f50b4d33b4b1c1d (patch)
tree1132531c5a4dc1cb226dac30f182f20fe9f3c07f /src/sprite.h
parentf37a47c0cb3f09a717de2f1b02ffd84b2c5b61f7 (diff)
downloadopenttd-173f0f4cd56942b2706bfea88f50b4d33b4b1c1d.tar.xz
(svn r13674) -Fix [FS#2127]: crash when drawing a non-real sprite. The drawing of the non-real sprite is caused when two NewGRFs replace the same sprite and the first replaces it with a real sprite (and thus assumes it remains a real sprite) and the second replaces it with a non-real sprite. OpenTTD already looked at whether the sprite to load should be seen as a real or non-real sprite, but it failed to replace non-real sprites with a substitute real sprite when getting the sprite from the cache.
Diffstat (limited to 'src/sprite.h')
0 files changed, 0 insertions, 0 deletions