diff options
author | skidd13 <skidd13@openttd.org> | 2007-11-25 15:35:25 +0000 |
---|---|---|
committer | skidd13 <skidd13@openttd.org> | 2007-11-25 15:35:25 +0000 |
commit | e36dba227b3ef5414757282661a8108d3a2bc9f6 (patch) | |
tree | 169a43d7faea93613e95fcd0c3221376b8fbfc11 /src/economy.cpp | |
parent | e3092f679177eda2ecfe5dcf05cd565cbe62c3fa (diff) | |
download | openttd-e36dba227b3ef5414757282661a8108d3a2bc9f6.tar.xz |
(svn r11523) -Codechange: Move the CHANCE macros to core/random_func.cpp cause they depend on Random()
-Codechange: Convert the CHANCE macros to functions and rename them fitting to the naming style
Diffstat (limited to 'src/economy.cpp')
-rw-r--r-- | src/economy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/economy.cpp b/src/economy.cpp index 536c7e2c5..263ef5531 100644 --- a/src/economy.cpp +++ b/src/economy.cpp @@ -1102,7 +1102,7 @@ static void SubsidyMonthlyHandler() } /* 25% chance to go on */ - if (CHANCE16(1,4)) { + if (Chance16(1,4)) { /* Find a free slot*/ s = _subsidies; while (s->cargo_type != CT_INVALID) { |