Skip to content

Commit

Permalink
Fix #475: Wrong livery names for DEC
Browse files Browse the repository at this point in the history
  • Loading branch information
telk5093 committed Jul 24, 2024
1 parent 452f7cf commit 4bd0a2c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
* 변경: 발전차 그래픽 변경 [#462]
* 수정: 새마을호 DHC 차량의 ↖방향 명암이 잘못된 점 [#466]
* 수정: 발전차 도색 이름 및 그래픽 오류 [#462]
* 수정: DEC 디젤 기관차의 도색명 오류 [#475]

2.7.1
-----
Expand Down
4 changes: 2 additions & 2 deletions src/locomotive/DEC/DEC_switch.pnml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ switch(FEAT_TRAINS, SELF, sw_DEC_engine, position_in_consist_from_end == 0 && nu
}

switch(FEAT_TRAINS, SELF, sw_DEC_cargo_subtype_text, cargo_subtype) {
2: return string(STR_REFIT_LIVERY_DEC_1); // Blue
3: return string(STR_REFIT_LIVERY_DEC_2); // Red+Beige
2: return string(STR_REFIT_LIVERY_DEC_2); // Red+Beige
3: return string(STR_REFIT_LIVERY_DEC_1); // Blue
return string(STR_REFIT_LIVERY_DEC_3); // Red+Yellow
}

Expand Down

0 comments on commit 4bd0a2c

Please sign in to comment.