Fix level editor not using LoadTiXmlDocument

This commit is contained in:
Fredrik Ljungdahl
2020-01-24 22:12:45 +01:00
committed by Ethan Lee
parent 5862af4445
commit 2ec1106741
2 changed files with 5 additions and 15 deletions

View File

@@ -139,7 +139,7 @@ void FILESYSTEM_loadFileToMemory(const char *name, unsigned char **mem,
if (addnull)
{
*mem = (unsigned char *) malloc(length + 1);
mem[length] = 0;
(*mem)[length] = 0;
}
else
{