diff options
author | tron <tron@openttd.org> | 2005-01-12 22:10:50 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-01-12 22:10:50 +0000 |
commit | 131f4c50fdd698030d5839d41799e0ff283e91d6 (patch) | |
tree | 76c5f05a325a58e7b1e56b4fbf000a5196c71ff5 /console_cmds.c | |
parent | 253a02e7126514a53ee80f2f0a9181c21d72a000 (diff) | |
download | openttd-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 'console_cmds.c')
0 files changed, 0 insertions, 0 deletions