clang-tidy
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user