TBTR: Clip drawing of template vehicles.
This fixes long templates running off the side of the window and/or obscuring the train length text.
This commit is contained in:
@@ -679,7 +679,7 @@ public:
|
||||
}
|
||||
|
||||
/* Draw the template */
|
||||
DrawTemplate(v, left + ScaleGUITrad(50), right, y);
|
||||
DrawTemplate(v, left + ScaleGUITrad(36), right - ScaleGUITrad(24), y);
|
||||
|
||||
/* Draw a notification string for chains that are not runnable */
|
||||
if (v->IsFreeWagonChain()) {
|
||||
|
Reference in New Issue
Block a user