summaryrefslogtreecommitdiff
path: root/vehicle.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-01-12 22:10:50 +0000
committertron <tron@openttd.org>2005-01-12 22:10:50 +0000
commit3887cc2e90658e5aa68f5dedf1acd8aaad75c3dc (patch)
tree76c5f05a325a58e7b1e56b4fbf000a5196c71ff5 /vehicle.c
parentecc4e2041b004efa201c4de82e3c0e36307ee41d (diff)
downloadopenttd-3887cc2e90658e5aa68f5dedf1acd8aaad75c3dc.tar.xz
(svn r1494) Give GetNumberBasedOnSeed() a bit more sane name: SeedChance()
Add SeedChanceBias() which subtracts a bias from SeedChance() to reduce code duplication While touching the lines anyway sprinkle a bit holy ANSI water (static before inline) and move assignments in the conditions of ifs before the ifs
Diffstat (limited to 'vehicle.c')
0 files changed, 0 insertions, 0 deletions