(svn r15554) -Fix: -v null crashing in 2051 due to trying to show the high score of the spectator.

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
rubidium 15 years ago
parent c81866fb8d
commit 2433ba042b

@ -193,8 +193,8 @@ void ShowHighscoreTable(int difficulty, int8 ranking)
* if it was high enough */
void ShowEndGameChart()
{
/* Dedicated server doesn't need the highscore window */
if (_network_dedicated) return;
/* Dedicated server doesn't need the highscore window and neither does -v null. */
if (_network_dedicated || (!_networking && !IsValidCompanyID(_local_company))) return;
HideVitalWindows();
DeleteWindowByClass(WC_ENDSCREEN);

Loading…
Cancel
Save