summaryrefslogtreecommitdiff
path: root/town.h
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
commit131f4c50fdd698030d5839d41799e0ff283e91d6 (patch)
tree76c5f05a325a58e7b1e56b4fbf000a5196c71ff5 /town.h
parent253a02e7126514a53ee80f2f0a9181c21d72a000 (diff)
downloadopenttd-131f4c50fdd698030d5839d41799e0ff283e91d6.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 'town.h')
0 files changed, 0 insertions, 0 deletions