Arreglos en la estructura i format del codi

This commit is contained in:
2025-03-01 17:01:50 +01:00
parent 3562b139c3
commit 31cded15cc
35 changed files with 496 additions and 755 deletions

View File

@@ -188,7 +188,7 @@ void Ending::iniTexts()
// Crea los sprites
sprite_texts_.clear();
for (auto t : texts)
for (const auto &t : texts)
{
EndingTexture st;
const int width = text_->lenght(t.caption, 1) + 2 + 2;
@@ -275,7 +275,7 @@ void Ending::iniPics()
// Crea los sprites
sprite_pics_.clear();
for (auto p : pics)
for (const auto &p : pics)
{
EndingTexture sp;