Changeset - r9232:bfa5965b4b61
[Not reviewed]
master
0 1 0
rubidium - 16 years ago 2008-05-15 08:01:46
rubidium@openttd.org
(svn r13098) -Fix [FS#2016]: segmentation fault on opening an already opened depot.
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/depot_gui.cpp
Show inline comments
 
@@ -1001,6 +1001,8 @@ void ShowDepotWindow(TileIndex tile, Veh
 
			w = AllocateWindowDescFront<DepotWindow>(&_aircraft_depot_desc, tile); break;
 
	}
 

	
 
	if (w == NULL) return;
 

	
 
	w->caption_color = GetTileOwner(tile);
 
	w->CreateDepotListWindow(type);
 
}
0 comments (0 inline, 0 general)