diff options
author | rubidium <rubidium@openttd.org> | 2008-07-04 14:45:51 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-07-04 14:45:51 +0000 |
commit | 0570ba846177aa0cd2ddf3c5fe15b7708103972f (patch) | |
tree | 1132531c5a4dc1cb226dac30f182f20fe9f3c07f /src/town.h | |
parent | c1add55758011751e6f8c419e5bf56f0b863aa17 (diff) | |
download | openttd-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/town.h')
0 files changed, 0 insertions, 0 deletions