fix error
This commit is contained in:
parent
d8ef872ff3
commit
372af42b19
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user