mirror of https://github.com/OpenTTD/OpenTTD
(svn r17404) -Change (r17379): silence gcc warning caused by inlining of a virtual function
parent
5607a610d7
commit
dcf3719ca1
|
@ -57,7 +57,7 @@ Company::Company(uint16 name_1, bool is_ai) :
|
|||
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()
|
||||
|
|
|
@ -1074,7 +1074,7 @@ struct PerformanceRatingDetailWindow : Window {
|
|||
this->UpdateCompanyStats();
|
||||
|
||||
this->InitNested(desc, window_number);
|
||||
this->OnInvalidateData(-1);
|
||||
this->OnInvalidateData(INVALID_COMPANY);
|
||||
}
|
||||
|
||||
void UpdateCompanyStats()
|
||||
|
|
Loading…
Reference in New Issue