(svn r15338) -Fix [FS#2598]: close all construction related windows whenever changing company.
This commit is contained in:
@@ -46,8 +46,6 @@ static int32 ClickChangeCompanyCheat(int32 p1, int32 p2)
|
||||
while ((uint)p1 < GetCompanyPoolSize()) {
|
||||
if (IsValidCompanyID((CompanyID)p1)) {
|
||||
SetLocalCompany((CompanyID)p1);
|
||||
|
||||
MarkWholeScreenDirty();
|
||||
return _local_company;
|
||||
}
|
||||
p1 += p2;
|
||||
|
Reference in New Issue
Block a user