Skip to content
Snippets Groups Projects
Commit de51d065 authored by toaster's avatar toaster
Browse files

Fix an issue with reading invalid memory when loading a map inside a pk3 that has no REJECT table.

parent 0df494d3
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment