summaryrefslogtreecommitdiff
path: root/src/video/video_driver.hpp
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
commit0570ba846177aa0cd2ddf3c5fe15b7708103972f (patch)
tree1132531c5a4dc1cb226dac30f182f20fe9f3c07f /src/video/video_driver.hpp
parentc1add55758011751e6f8c419e5bf56f0b863aa17 (diff)
downloadopenttd-0570ba846177aa0cd2ddf3c5fe15b7708103972f.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/video/video_driver.hpp')
0 files changed, 0 insertions, 0 deletions