change back to 8, add \0s

This commit is contained in:
Monster Iestyn 2016-06-12 21:16:41 +01:00
parent 472dce1ae6
commit f94dd510ad
1 changed files with 1 additions and 1 deletions

View File

@ -1988,7 +1988,7 @@ static void P_LoadReject(lumpnum_t lumpnum)
const char *lumpname = W_CheckNameForNum(lumpnum);
// Check if the lump exists, and if it's named "REJECT"
if (!lumpname || memcmp(lumpname, "REJECT", 7) != 0)
if (!lumpname || memcmp(lumpname, "REJECT\0\0", 8) != 0)
{
rejectmatrix = NULL;
return;