- [FIX] La segona vegada que entraves a ficar password, estaba l'antic

This commit is contained in:
2023-10-22 20:06:45 +02:00
parent 2bfe750ccc
commit 7cbf75ffd9

View File

@@ -31,6 +31,8 @@ namespace gamestate
void init() void init()
{ {
exit = password::eixir::no; exit = password::eixir::no;
for (int i=0; i<10; ++i) password[i] = 32;
indice = 0;
// Carrega el gif del fondo // Carrega el gif del fondo
fondo = draw::loadSurface("prefase.gif", true); fondo = draw::loadSurface("prefase.gif", true);