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 | 58a72bf48371143268c8b1ae07d1bce6d0d76daf (patch) | |
tree | c9bca484f8c447d1e5c5e7e8827b416361992ea3 /vehicle.h | |
parent | e39cb78b73144ff093ee8ee2e50c7ab075683a0e (diff) | |
download | openttd-58a72bf48371143268c8b1ae07d1bce6d0d76daf.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 |