Skip to content

Commit

Permalink
add diesel-electric to tank only locomotives
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmedAredah committed Apr 4, 2023
1 parent 9656df2 commit e1931b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/TrainDefintion/TrainTypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,8 @@ namespace TrainTypes {
/** The locomotive tank only */
static const Vector<PowerType> locomotiveTankOnly = {
PowerType::diesel,
PowerType::biodiesel
PowerType::biodiesel,
PowerType::dieselElectric // it does not have a battery to store energy in
};

/** The locomotive battery only */
Expand Down

0 comments on commit e1931b5

Please sign in to comment.