Merge branch 'master' into jgrpp

# Conflicts:
#	src/linkgraph/mcf.cpp
This commit is contained in:
Jonathan G Rennison
2020-01-10 18:46:20 +00:00
3 changed files with 5 additions and 5 deletions

View File

@@ -321,7 +321,7 @@ private:
spr = SPR_PROFIT_NA;
} else if (profit_last_year < 0) {
spr = SPR_PROFIT_NEGATIVE;
} else if (profit_last_year < (Money)10000 * num_profit_vehicle) { // TODO magic number
} else if (profit_last_year < VEHICLE_PROFIT_THRESHOLD * num_profit_vehicle) {
spr = SPR_PROFIT_SOME;
} else {
spr = SPR_PROFIT_LOT;