diff options
author | rubidium <rubidium@openttd.org> | 2008-11-03 23:42:07 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-11-03 23:42:07 +0000 |
commit | 39450b6e4efddcb98d5a76f84242792efdc2025d (patch) | |
tree | 7a9ba419726fbc25b22fc7e3dd393696a783e042 /src/querystring_gui.h | |
parent | e1bf231727486f906aa28b361e2d7b87a6f475ad (diff) | |
download | openttd-39450b6e4efddcb98d5a76f84242792efdc2025d.tar.xz |
(svn r14563) -Fix [FS#2395]: in the case that an industry NewGRF, a shared TTDPatch and
OpenTTD feature with it's origin in TTDPatch to replace/add/change vehicles
(including e.g. maximum speed, graphics and introduction year), stations,
bridges, industries, town houses or any other graphics used by either
TTDPatch or OpenTTD, would tell that building an industry is okay, which
is queried using a so-called callback that allows the NewGRF author to
test all kinds of information about the neighbourhood where the industry
might get build, it would corrupt, i.e. overwrite with invalid data, the
structure that is used to build up an error message. This then might result
in trying to resolve an invalid StringID, an internal numeric representation
of all translateable strings, which would in it's turn trigger a safety
check that is added to ensure invalid StringIDs are never resolved.
Diffstat (limited to 'src/querystring_gui.h')
0 files changed, 0 insertions, 0 deletions