diff options
author | tron <tron@openttd.org> | 2007-01-26 07:50:34 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2007-01-26 07:50:34 +0000 |
commit | c9f4c637fbe54dceb9d8afbe95ca77074542d0dc (patch) | |
tree | 66ed373af40079ec10a0ef1dfb6cdde897d5db18 /src/newgrf_text.cpp | |
parent | f4dad30da7c69f54b3cc089ec407d6d69d6f7d36 (diff) | |
download | openttd-c9f4c637fbe54dceb9d8afbe95ca77074542d0dc.tar.xz |
(svn r8410) -Fix
-Fix: Fix an out of bounds array access when assigning the engine type in the _engine array
This usually hits the _engine_name_strings array and causes an invalid StringID, though it depends on the compiler which data structure gets placed after the _engines array.
Most probably this was exposed by removing railtype from Engine, which changed the size of this struct.
Diffstat (limited to 'src/newgrf_text.cpp')
0 files changed, 0 insertions, 0 deletions