summaryrefslogtreecommitdiff
path: root/src/smallmap_gui.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2017-03-20 08:04:47 +0000
committerpeter1138 <peter1138@openttd.org>2017-03-20 08:04:47 +0000
commit67ab0450dd9ab652ee4ec515e06f4ea8f04b7f6b (patch)
tree494ed06d519bd5c715d33f45664ac6832c7d945c /src/smallmap_gui.h
parentf3cbe981561bab44bb5ee83a49ac1fed884e5961 (diff)
downloadopenttd-67ab0450dd9ab652ee4ec515e06f4ea8f04b7f6b.tar.xz
(svn r27809) -Codechange: Improve check in UpdateLevelCrossing
In UpdateLevelCrossing, checking if a level crossing is reserved is cheaper than finding trains on it or approaching it, so do it first. (cirdan)
Diffstat (limited to 'src/smallmap_gui.h')
0 files changed, 0 insertions, 0 deletions