- [FIX] Ja funcionen els passwords
This commit is contained in:
@@ -32,6 +32,7 @@ namespace gamestate
|
|||||||
{
|
{
|
||||||
exit = password::eixir::no;
|
exit = password::eixir::no;
|
||||||
for (int i=0; i<10; ++i) password[i] = 32;
|
for (int i=0; i<10; ++i) password[i] = 32;
|
||||||
|
password[10] = 0;
|
||||||
indice = 0;
|
indice = 0;
|
||||||
|
|
||||||
// Carrega el gif del fondo
|
// Carrega el gif del fondo
|
||||||
@@ -117,6 +118,7 @@ namespace gamestate
|
|||||||
|
|
||||||
const int getFaseFromPassword()
|
const int getFaseFromPassword()
|
||||||
{
|
{
|
||||||
|
password[10] = 0;
|
||||||
int filesize = 0;
|
int filesize = 0;
|
||||||
const char *buffer = file::getFileBuffer("offsets.bal", &filesize);
|
const char *buffer = file::getFileBuffer("offsets.bal", &filesize);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user