summaryrefslogtreecommitdiff
path: root/minilzo.c
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-02-07 19:01:01 +0000
committerpeter1138 <peter1138@openttd.org>2006-02-07 19:01:01 +0000
commit59333131a51aded792d4123b0311a877e5772ff2 (patch)
tree20fcdb385a32fca87f8b520ef635604d2b76d473 /minilzo.c
parent66fcdc5e6d014e57dadf2f420e91d2fc4643131f (diff)
downloadopenttd-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