Oops. It should compile now.

This commit is contained in:
Nevur 2017-05-01 16:43:52 +02:00
parent 2c614f8f2c
commit 65b89f6c0f

View file

@ -509,7 +509,7 @@ UINT16 W_LoadWadFile(const char *filename)
break;
}
}
memset(lumpinfo[numlumps].name, '\0', 9)
memset(lumpinfo[numlumps].name, '\0', 9);
strncpy(lumpinfo[numlumps].name, eName + namePos, 8);
lumpinfo[numlumps].name2 = Z_Malloc((eNameLen+1)*sizeof(char), PU_STATIC, NULL);