s
This commit is contained in:
parent
18228eeafd
commit
e317642dda
@ -52,7 +52,7 @@ namespace ProjectLocomotive.CollectionGenericObjects
|
|||||||
catch (PositionOutOfCollectionException e) { }
|
catch (PositionOutOfCollectionException e) { }
|
||||||
|
|
||||||
|
|
||||||
if (curWidth > width - 2)
|
if (curWidth > width - 3)
|
||||||
curWidth--;
|
curWidth--;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -56,9 +56,11 @@ namespace ProjectLocomotive.Drawnings
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
Point[] points4 = { new Point(_startPosX.Value + 20, _startPosY.Value), new Point(_startPosX.Value + 30, _startPosY.Value), new Point(_startPosX.Value + 30, _startPosY.Value - 7), new Point(_startPosX.Value + 32, _startPosY.Value - 9), new Point(_startPosX.Value + 30, _startPosY.Value - 11), new Point(_startPosX.Value + 20, _startPosY.Value - 11), new Point(_startPosX.Value + 18, _startPosY.Value - 9), new Point(_startPosX.Value + 20, _startPosY.Value - 7), new Point(_startPosX.Value + 20, _startPosY.Value) };
|
if (entityTLocomotive.Pipe)
|
||||||
g.FillPolygon(wheelBrush, points4);
|
{
|
||||||
|
Point[] points4 = { new Point(_startPosX.Value + 20, _startPosY.Value), new Point(_startPosX.Value + 30, _startPosY.Value), new Point(_startPosX.Value + 30, _startPosY.Value - 7), new Point(_startPosX.Value + 32, _startPosY.Value - 9), new Point(_startPosX.Value + 30, _startPosY.Value - 11), new Point(_startPosX.Value + 20, _startPosY.Value - 11), new Point(_startPosX.Value + 18, _startPosY.Value - 9), new Point(_startPosX.Value + 20, _startPosY.Value - 7), new Point(_startPosX.Value + 20, _startPosY.Value) };
|
||||||
|
g.FillPolygon(wheelBrush, points4);
|
||||||
|
}
|
||||||
|
|
||||||
if (entityTLocomotive.Fueltank)
|
if (entityTLocomotive.Fueltank)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user