(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
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user