Changeset - r12902:040f4bdcaecf
[Not reviewed]
master
0 2 0
rubidium - 15 years ago 2009-09-03 11:56:29
rubidium@openttd.org
(svn r17404) -Change (r17379): silence gcc warning caused by inlining of a virtual function
2 files changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/company_cmd.cpp
Show inline comments
 
@@ -57,7 +57,7 @@ Company::Company(uint16 name_1, bool is_
 
	is_ai(is_ai)
 
{
 
	for (uint j = 0; j < 4; j++) this->share_owners[j] = COMPANY_SPECTATOR;
 
	InvalidateWindowData(WC_PERFORMANCE_DETAIL, 0, -1);
 
	InvalidateWindowData(WC_PERFORMANCE_DETAIL, 0, INVALID_COMPANY);
 
}
 

	
 
Company::~Company()
src/graph_gui.cpp
Show inline comments
 
@@ -1074,7 +1074,7 @@ struct PerformanceRatingDetailWindow : W
 
		this->UpdateCompanyStats();
 

	
 
		this->InitNested(desc, window_number);
 
		this->OnInvalidateData(-1);
 
		this->OnInvalidateData(INVALID_COMPANY);
 
	}
 

	
 
	void UpdateCompanyStats()
0 comments (0 inline, 0 general)