tochno full 5 laba
This commit is contained in:
parent
04f93783fd
commit
ef7d40ad0d
@ -131,6 +131,8 @@ namespace WarmlyShip.Generics
|
||||
if (ship != null)
|
||||
{
|
||||
int width = _pictureWidth / _placeSizeWidth;
|
||||
ship._pictureWidth = _pictureWidth;
|
||||
ship._pictureHeight = _pictureHeight;
|
||||
ship.SetPosition((width - 1 - (i % width)) * _placeSizeWidth, i / width * _placeSizeHeight);
|
||||
ship.DrawTransport(g);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user