clang-tidy (amb el fuck de que no feien bona parella el clang de macos i el tidy de llvm)
This commit is contained in:
@@ -70,7 +70,7 @@ class Tabe {
|
||||
// Restablece el temporizador con un nuevo tiempo hasta la próxima aparición
|
||||
void reset() {
|
||||
Uint32 range = max_spawn_time - min_spawn_time;
|
||||
time_until_next_spawn = min_spawn_time + rand() % (range + 1);
|
||||
time_until_next_spawn = min_spawn_time + (rand() % (range + 1));
|
||||
last_time = SDL_GetTicks();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user