- 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

@@ -69,7 +69,7 @@ namespace gamestate
void carregarMapa()
{
int filesize = 0;
char *buffer = file::getFileBuffer("MAPES.BAL", filesize);
char *buffer = file::getFileBuffer("MAPES.BAL", &filesize);
char *punter = buffer + (game::getConfig("fase") * 212) + 3;