File diff r15840:d15dd78ef53e → r15841:06d4b8da9773
src/depot_gui.cpp
Show inline comments
 
@@ -980,13 +980,13 @@ struct DepotWindow : Window {
 

	
 
				if (is_engine) {
 
					_backup_orders_tile = v->tile;
 
					BackupVehicleOrders(v);
 
				}
 

	
 
				if (!DoCommandP(v->tile, v->index, sell_cmd, GetCmdSellVeh(v->type)) && is_engine) _backup_orders_tile = 0;
 
				if (!DoCommandP(v->tile, v->index | sell_cmd << 16, 0, GetCmdSellVeh(v->type)) && is_engine) _backup_orders_tile = 0;
 
				break;
 
			}
 

	
 
			default:
 
				this->sel = INVALID_VEHICLE;
 
				this->SetDirty();