Changeset - r1249:1fe65b3396d6
[Not reviewed]
master
0 1 0
darkvater - 20 years ago 2005-01-31 11:36:16
darkvater@openttd.org
(svn r1753) - Fix: [ 1113037 ] crash when accessing hi-scores in editor, it is now disabled.
1 file changed with 4 insertions and 0 deletions:
0 comments (0 inline, 0 general)
settings_gui.c
Show inline comments
 
@@ -347,6 +347,10 @@ static void GameDifficultyWndProc(Window
 

	
 
		w->click_state = (1 << 3) << _opt_mod_temp.diff_level;
 
		w->disabled_state = (_game_mode != GM_NORMAL) ? 0 : (1 << 3) | (1 << 4) | (1 << 5) | (1 << 6);
 

	
 
		if (_game_mode == GM_EDITOR)
 
			SETBIT(w->disabled_state, 7);
 

	
 
		if (_networking) {
 
			SETBIT(w->disabled_state, 7); // disable highscore chart in multiplayer
 
			if (!_network_server)
0 comments (0 inline, 0 general)