Changeset - r11201:1d8e7232ae73
[Not reviewed]
master
0 1 0
rubidium - 15 years ago 2009-02-23 01:51:19
rubidium@openttd.org
(svn r15554) -Fix: -v null crashing in 2051 due to trying to show the high score of the spectator.
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/highscore_gui.cpp
Show inline comments
 
@@ -193,8 +193,8 @@ void ShowHighscoreTable(int difficulty, 
 
 * 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);
0 comments (0 inline, 0 general)