forked from jaildesigner-jailgames/jaildoctors_dilemma
Arreglos en la estructura i format del codi
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user