Rename close window functions to match upstream
This commit is contained in:
@@ -229,7 +229,7 @@ static WindowDesc _endgame_desc(
|
||||
*/
|
||||
void ShowHighscoreTable(int difficulty, int8 ranking)
|
||||
{
|
||||
DeleteWindowByClass(WC_HIGHSCORE);
|
||||
CloseWindowByClass(WC_HIGHSCORE);
|
||||
new HighScoreWindow(&_highscore_desc, difficulty, ranking);
|
||||
}
|
||||
|
||||
@@ -243,6 +243,6 @@ void ShowEndGameChart()
|
||||
if (_network_dedicated || (!_networking && !Company::IsValidID(_local_company))) return;
|
||||
|
||||
HideVitalWindows();
|
||||
DeleteWindowByClass(WC_ENDSCREEN);
|
||||
CloseWindowByClass(WC_ENDSCREEN);
|
||||
new EndGameWindow(&_endgame_desc);
|
||||
}
|
||||
|
Reference in New Issue
Block a user