Skip to content

Commit 7e76ed9

Browse files
committed
Bug fix for https://bugs.launchpad.net/or/+bug/1943307 In 3d cabs Alert colour not displayed
1 parent 2f44c45 commit 7e76ed9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Source/RunActivity/Viewer3D/RollingStock/MSTSLocomotiveViewer.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2997,11 +2997,11 @@ Material FindMaterial(bool Alert)
29972997
CABViewControlTypes controltype = CVFR.GetControlType();
29982998
Material material = null;
29992999

3000-
if (AceFile != "")
3000+
if (Alert) { imageName = "alert.ace"; }
3001+
else if (AceFile != "")
30013002
{
30023003
imageName = AceFile;
30033004
}
3004-
else if (Alert) { imageName = "alert.ace"; }
30053005
else
30063006
{
30073007
switch (controltype)

0 commit comments

Comments
 (0)