Changeset - r7131:9a34e174f153
[Not reviewed]
master
0 1 0
rubidium - 17 years ago 2007-07-01 17:11:24
rubidium@openttd.org
(svn r10405) -Fix [FS#972]: do not try to determine the default railtype in the scenario editor.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/rail_gui.cpp
Show inline comments
 
@@ -1231,7 +1231,7 @@ void ReinitGuiAfterToggleElrail(bool dis
 

	
 
void SetDefaultRailGui()
 
{
 
	if (_local_player == PLAYER_SPECTATOR) return;
 
	if (_local_player == PLAYER_SPECTATOR || !IsValidPlayer(_local_player)) return;
 

	
 
	extern RailType _last_built_railtype;
 
	RailType rt = (RailType)_patches.default_rail_type;
0 comments (0 inline, 0 general)