From bdc7fd2d765b84dc17415ecda0bef31471befa91 Mon Sep 17 00:00:00 2001 From: skidd13 Date: Sun, 25 Nov 2007 15:35:25 +0000 Subject: (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 --- src/economy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/economy.cpp') 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) { -- cgit v1.2.3-54-g00ecf