A wheel loader comprising: an engine; working equipment configured to be driven by the engine; a travel device configured to be driven by the engine; a detector configured to detect a state of the working equipment and a state of the travel device, the detector comprising at least an accelerator displacement detector configured to detect a displacement of an accelerator pedal; and a controller configured to store a plurality of torque curves defining different torque characteristics of the engine and to select one of the torque curves for controlling the engine depending on a detection result provided by the detector, the torque curves comprising one excavation torque curve and two or more non-excavation torque curves, the controller comprising: a state judging unit configured to judge from the detection result provided by the detector whether or not the wheel loader is in an excavation operation and whether or not the wheel loader is in a loading operation; and a torque-curve selector configured to: select the excavation torque curve when the wheel loader is judged to be in the excavation operation; select one of the two or more non-excavation torque curves depending on the displacement of the accelerator pedal detected by the accelerator displacement detector when the wheel loader is judged to be in the loading operation; characterized in that the torque-curve selector is further configured to: select another one of the two or more non-excavation torque curves with a smallest obtainable torque not depending on the displacement of the accelerator pedal when the wheel loader is judged to be neither in the excavation operation nor in the loading operation. an engine; working equipment configured to be driven by the engine; a travel device configured to be driven by the engine; a detector configured to detect a state of the working equipment and a state of the travel device, the detector comprising at least an accelerator displacement detector configured to detect a displacement of an accelerator pedal; and a controller configured to store a plurality of torque curves defining different torque characteristics of the engine and to select one of the torque curves for controlling the engine depending on a detection result provided by the detector, the torque curves comprising one excavation torque curve and two or more non-excavation torque curves, the controller comprising: a state judging unit configured to judge from the detection result provided by the detector whether or not the wheel loader is in an excavation operation and whether or not the wheel loader is in a loading operation; and a torque-curve selector configured to: select the excavation torque curve when the wheel loader is judged to be in the excavation operation; select one of the two or more non-excavation torque curves depending on the displacement of the accelerator pedal detected by the accelerator displacement detector when the wheel loader is judged to be in the loading operation; characterized in that the torque-curve selector is further configured to: select another one of the two or more non-excavation torque curves with a smallest obtainable torque not depending on the displacement of the accelerator pedal when the wheel loader is judged to be neither in the excavation operation nor in the loading operation. a state judging unit configured to judge from the detection result provided by the detector whether or not the wheel loader is in an excavation operation and whether or not the wheel loader is in a loading operation; and a torque-curve selector configured to: select the excavation torque curve when the wheel loader is judged to be in the excavation operation; select one of the two or more non-excavation torque curves depending on the displacement of the accelerator pedal detected by the accelerator displacement detector when the wheel loader is judged to be in the loading operation; characterized in that the torque-curve selector is further configured to: select another one of the two or more non-excavation torque curves with a smallest obtainable torque not depending on the displacement of the accelerator pedal when the wheel loader is judged to be neither in the excavation operation nor in the loading operation.