Bomber nie chce trzymac sie granic mapy da faq

This commit is contained in:
2024-12-11 18:06:26 +01:00
parent 17c372fad9
commit b257837d18
2 changed files with 3 additions and 3 deletions

View File

@@ -31,7 +31,7 @@ void Bomber::setRandomDirection() {
if (position.x > 0) direction = DirectionB::Left;
break;
case 3:
if (position.x < 1200) direction = DirectionB::Right;
if (position.x < 600) direction = DirectionB::Right;
break;
}
}