- Ara al carregar un arxiu la variable on guardar el tamany s'envia com un punter, així es pot ignorar.

This commit is contained in:
2023-10-16 18:39:41 +02:00
parent 262761e832
commit 4c430ec512
7 changed files with 28 additions and 20 deletions

View File

@@ -140,7 +140,7 @@ namespace gamestate
char *ObtenerPasswordDeFase()
{
int filesize = 0;
const char *buffer = file::getFileBuffer("offsets.bal", filesize);
const char *buffer = file::getFileBuffer("offsets.bal", &filesize);
int punter = (game::getConfig("fase")-1)*11;