Eliminados la mayor parte de accesos a vector mediante at()
This commit is contained in:
@@ -200,7 +200,7 @@ void Credits::fillTexture()
|
||||
}
|
||||
|
||||
// Escribe el corazón
|
||||
const int textLenght = text->lenght(texts.at(22).label, 1) - text->lenght(" ", 1); // Se resta el ultimo caracter que es un espacio
|
||||
const int textLenght = text->lenght(texts[22].label, 1) - text->lenght(" ", 1); // Se resta el ultimo caracter que es un espacio
|
||||
const int posX = ((PLAY_AREA_WIDTH - textLenght) / 2) + textLenght;
|
||||
text->writeColored(posX, 176, "}", stringToColor(options->palette, "bright_red"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user