clang-tidy

This commit is contained in:
2025-08-17 10:20:41 +02:00
parent b359a73d50
commit 8ddc5d94f1
73 changed files with 867 additions and 833 deletions

View File

@@ -96,7 +96,7 @@ void Tabe::move() {
? LEFT[rand() % CHOICES]
: RIGHT[rand() % CHOICES];
setRandomFlyPath(DIRECTION, 20 + rand() % 40);
setRandomFlyPath(DIRECTION, 20 + (rand() % 40));
}
}
@@ -125,9 +125,9 @@ void Tabe::enable() {
}
// Establece un vuelo aleatorio
void Tabe::setRandomFlyPath(Direction direction, int lenght) {
void Tabe::setRandomFlyPath(Direction direction, int length) {
direction_ = direction;
fly_distance_ = lenght;
fly_distance_ = length;
waiting_counter_ = 5 + rand() % 15;
Audio::get()->playSound("tabe.wav");