@@ -859,7 +859,7 @@ static const Widget _highscore_widgets[]
static const WindowDesc _highscore_desc = {
0, 0, 641, 481,
WC_HIGHSCORE_ENDSCREEN,0,
WC_HIGHSCORE,0,
0,
_highscore_widgets,
HighScoreWndProc
@@ -867,7 +867,7 @@ static const WindowDesc _highscore_desc
static const WindowDesc _endgame_desc = {
WC_ENDSCREEN,0,
EndGameWndProc
@@ -886,7 +886,7 @@ void ShowHighscoreTable(int difficulty,
/* Close all always on-top windows to get a clean screen */
if (_game_mode != GM_MENU) HideVitalWindows();
DeleteWindowById(WC_HIGHSCORE_ENDSCREEN, 0);
DeleteWindowByClass(WC_HIGHSCORE);
w = AllocateWindowDesc(&_highscore_desc);
if (w != NULL) {
@@ -909,7 +909,7 @@ void ShowEndGameChart(void)
if (!_networking) DoCommandP(0, 1, 0, NULL, CMD_PAUSE);
HideVitalWindows();
DeleteWindowByClass(WC_ENDSCREEN);
w = AllocateWindowDesc(&_endgame_desc);