- [FIX] Ja funcionen els passwords

This commit is contained in:
2023-10-22 22:29:52 +02:00
parent 7cbf75ffd9
commit 283f3f58f5

View File

@@ -32,6 +32,7 @@ namespace gamestate
{
exit = password::eixir::no;
for (int i=0; i<10; ++i) password[i] = 32;
password[10] = 0;
indice = 0;
// Carrega el gif del fondo
@@ -117,6 +118,7 @@ namespace gamestate
const int getFaseFromPassword()
{
password[10] = 0;
int filesize = 0;
const char *buffer = file::getFileBuffer("offsets.bal", &filesize);