diff options
author | peter1138 <peter1138@openttd.org> | 2006-02-07 19:01:01 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-02-07 19:01:01 +0000 |
commit | 59333131a51aded792d4123b0311a877e5772ff2 (patch) | |
tree | 20fcdb385a32fca87f8b520ef635604d2b76d473 /minilzo.c | |
parent | 66fcdc5e6d014e57dadf2f420e91d2fc4643131f (diff) | |
download | openttd-59333131a51aded792d4123b0311a877e5772ff2.tar.xz |
(svn r3572) - Rewrite GetFreeUnitNumber() so that only one loop of vehicles is required. Instead a list of used/unused numbers is created and the first unused number is chosen. This significantly improves performance in large games.
Diffstat (limited to 'minilzo.c')
0 files changed, 0 insertions, 0 deletions