File diff r23952:2d92a4a7c152 → r23953:ba75d2f3b530
src/statusbar_gui.cpp
Show inline comments
 
@@ -120,8 +120,7 @@ struct StatusBarWindow : Window {
 

	
 
			case WID_S_RIGHT: {
 
				int64 max_money = UINT32_MAX;
 
				const Company *c;
 
				FOR_ALL_COMPANIES(c) max_money = max<int64>(c->money, max_money);
 
				for (const Company *c : Company::Iterate()) max_money = max<int64>(c->money, max_money);
 
				SetDParam(0, 100LL * max_money);
 
				d = GetStringBoundingBox(STR_COMPANY_MONEY);
 
				break;