mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-22 04:21:23 +00:00
Do not why we are not checking REJECT\0\0, let fix this check
This commit is contained in:
parent
1d0e74f9c0
commit
472dce1ae6
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue