fix error

This commit is contained in:
MaxKarme 2022-09-20 19:48:10 +03:00
parent d8ef872ff3
commit 372af42b19

View File

@ -27,7 +27,6 @@ namespace AirFighter
public void SetPosition(int x, int y, int width, int height) public void SetPosition(int x, int y, int width, int height)
{ {
о
if (width < _airFighterWidth || height < _airFighterHeight) return; if (width < _airFighterWidth || height < _airFighterHeight) return;
if (_startPosX + _airFighterWidth > _pictureWidth) return; if (_startPosX + _airFighterWidth > _pictureWidth) return;