Changeset - r14964:93dbb087e856
[Not reviewed]
master
0 1 0
rubidium - 14 years ago 2010-04-08 15:29:20
rubidium@openttd.org
(svn r19584) -Fix [FS#3744]: Crash when pressing 'h' (non-stop) in the order window of a ship or aircraft
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/order_gui.cpp
Show inline comments
 
@@ -621,6 +621,8 @@ private:
 
	 */
 
	void OrderClick_Nonstop(int non_stop)
 
	{
 
		if (this->vehicle->type != VEH_TRAIN && this->vehicle->type != VEH_ROAD) return;
 

	
 
		VehicleOrderID sel_ord = this->OrderGetSel();
 
		const Order *order = this->vehicle->GetOrder(sel_ord);
 

	
0 comments (0 inline, 0 general)