готовая лаба 4

This commit is contained in:
spacyboy 2023-12-12 14:33:55 +04:00
parent 4e005d11fe
commit 93f32ceef3

View File

@ -50,7 +50,7 @@ namespace RoadTrain.DrawingObjects
{
x = 0;
}
if (y < 0 || y + _roadTrainWidth > _pictureHeight)
if (y < 0 || y + _roadTrainHeight > _pictureHeight)
{
y = 0;
}