migracio de LoadingScreen completada
This commit is contained in:
@@ -164,8 +164,8 @@ void LoadingScreen::updateColorLoad(float delta_time) {
|
||||
const int total_iterations = COLOR_TOTAL_BLOCKS / 2; // 768 / 2 = 384 iteraciones
|
||||
const int current_iteration = static_cast<int>(progress * total_iterations);
|
||||
|
||||
// Convertir a bloque (incrementa de 2 en 2, empezando en 2)
|
||||
const int current_block = (current_iteration + 1) * 2;
|
||||
// Convertir a bloque (incrementa de 2 en 2, empezando en 0)
|
||||
const int current_block = current_iteration * 2;
|
||||
|
||||
// Verificar si ha completado todos los bloques
|
||||
if (current_block >= COLOR_TOTAL_BLOCKS) {
|
||||
|
||||
Reference in New Issue
Block a user