Do not why we are not checking REJECT\0\0, let fix this check

This commit is contained in:
Alam Ed Arias 2016-06-11 21:42:02 -04:00
parent 1d0e74f9c0
commit 472dce1ae6

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", 5) != 0)
if (!lumpname || memcmp(lumpname, "REJECT", 7) != 0)
{
rejectmatrix = NULL;
return;