summaryrefslogtreecommitdiff
path: root/src/train.h
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2007-02-15 10:21:00 +0000
committercelestar <celestar@openttd.org>2007-02-15 10:21:00 +0000
commitd9f034bd877f7c592f467d124b068c39cfd01b83 (patch)
tree423906991b04b130fcc9ac5160de6504dc5e5e2c /src/train.h
parente62036f5e9d2256ec59fc25a6ef14baeddbd82ea (diff)
downloadopenttd-d9f034bd877f7c592f467d124b068c39cfd01b83.tar.xz
(svn r8744) -Fix(r654/2105): Call GetFirstVehicleInChain only for trains, and assert the vehicle type in that function. Not a critical error, but it does increase game performance by up to 10% when playing a large game (many vehicles) with aircraft/road vehicle newgrfs loaded.
Diffstat (limited to 'src/train.h')
0 files changed, 0 insertions, 0 deletions