Fix an issue with reading invalid memory when loading a map inside a pk3 that has no REJECT table.
This commit is contained in:
1 parent
0df494d30d
commit
de51d065b0
1 file changed
+4
@@ -3071,6 +3071,10 @@ boolean P_SetupLevel(boolean skipprecip)
|
||||
(fileinfo + ML_REJECT)->size,
|
||||
(fileinfo + ML_REJECT)->name);
|
||||
}
|
||||
else
|
||||
{
|
||||
rejectmatrix = NULL;
|
||||
}
|
||||
|
||||
// Important: take care of the ordering of the next functions.
|
||||
if (!loadedbm)
|
||||
|
||||
Reference in new issue
Block a user