diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-12-26 10:13:28 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-12-26 10:13:28 +0100 |
commit | 5c1ab77d24e311c1c613c3a9441bda84cc014c0b (patch) | |
tree | ac30b6774261682e14ffbb0d044406e701bf72e3 /lib/Travel/Status/DE/DBWagenreihung.pm | |
parent | a9b5b0a8a3c5b3964e5c89b0e4e58706658b3b44 (diff) |
ICE 3 V -> Velaro; actually distinguish between ICE T 411 / 415
Diffstat (limited to 'lib/Travel/Status/DE/DBWagenreihung.pm')
-rw-r--r-- | lib/Travel/Status/DE/DBWagenreihung.pm | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/Travel/Status/DE/DBWagenreihung.pm b/lib/Travel/Status/DE/DBWagenreihung.pm index 9b70f00..2d4d2fe 100644 --- a/lib/Travel/Status/DE/DBWagenreihung.pm +++ b/lib/Travel/Status/DE/DBWagenreihung.pm @@ -312,7 +312,7 @@ sub train_subtype { 'ICE 1' => 0, 'ICE 2' => 0, 'ICE 3' => 0, - 'ICE 3 V' => 0, + 'ICE 3 Velaro' => 0, 'ICE 4' => 0, 'ICE T 411' => 0, 'ICE T 415' => 0, @@ -346,8 +346,11 @@ sub train_subtype { elsif ( $wagon->model == 412 or $wagon->model == 812 ) { $ml{'ICE 4'}++; } - elsif ( $wagon->model == 411 or $wagon->model == 415 ) { - $ml{'ICE T'}++; + elsif ( $wagon->model == 411 ) { + $ml{'ICE T 411'}++; + } + elsif ( $wagon->model == 415 ) { + $ml{'ICE T 415'}++; } elsif ( $wagon->model == 475 ) { $ml{'TGV'}++; |