forked from mirror/OpenTTD
(svn r17674) -Codechange: replace SetDirty + OnInvalidateData with InvalidateData (which does the same). Also call InvalidateData in a few cases where that was actually meant.
This commit is contained in:
@@ -586,8 +586,7 @@ struct AIConfigWindow : public Window {
|
||||
|
||||
if (slot == 0 || slot > _settings_newgame.difficulty.max_no_competitors) slot = INVALID_COMPANY;
|
||||
this->selected_slot = (CompanyID)slot;
|
||||
this->OnInvalidateData(0);
|
||||
this->SetDirty();
|
||||
this->InvalidateData();
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user