(svn r20341) -Codechange: pass the tile of the HQ instead of the company to UpdateCompanyHQ
This commit is contained in:
@@ -292,7 +292,7 @@ int UpdateCompanyRatingAndValue(Company *c, bool update)
|
||||
|
||||
if (update) {
|
||||
c->old_economy[0].performance_history = score;
|
||||
UpdateCompanyHQ(c, score);
|
||||
UpdateCompanyHQ(c->location_of_HQ, score);
|
||||
c->old_economy[0].company_value = CalculateCompanyValue(c);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user