mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-28 04:00:41 +00:00
"REJECT" is only 5 chars long, not 8.
This commit is contained in:
parent
a7a7a7ee6d
commit
1d0e74f9c0
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);
|
const char *lumpname = W_CheckNameForNum(lumpnum);
|
||||||
|
|
||||||
// Check if the lump exists, and if it's named "REJECT"
|
// Check if the lump exists, and if it's named "REJECT"
|
||||||
if (!lumpname || memcmp(lumpname, "REJECT", 8) != 0)
|
if (!lumpname || memcmp(lumpname, "REJECT", 5) != 0)
|
||||||
{
|
{
|
||||||
rejectmatrix = NULL;
|
rejectmatrix = NULL;
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue