diff options
author | celestar <celestar@openttd.org> | 2005-03-29 11:19:10 +0000 |
---|---|---|
committer | celestar <celestar@openttd.org> | 2005-03-29 11:19:10 +0000 |
commit | c68cfdeecaccbd3979e920ec424f98375e0f9e3d (patch) | |
tree | c9bca484f8c447d1e5c5e7e8827b416361992ea3 /vehicle.h | |
parent | 3a8665f796876a7dd346887cae7d7df4808ee4d4 (diff) | |
download | openttd-c68cfdeecaccbd3979e920ec424f98375e0f9e3d.tar.xz |
(svn r2105) -Codechange: Added a cache for the first vehicle of a chain to increase performance, especially with many long trains
Diffstat (limited to 'vehicle.h')
-rw-r--r-- | vehicle.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -97,6 +97,7 @@ struct Vehicle { uint16 index; // NOSAVE: Index in vehicle array Vehicle *next; // next + Vehicle *first; // NOSAVE: pointer to the first vehicle in the chain StringID string_id; // Displayed string |