mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-11-10 07:12:03 +00:00
Fix an issue with reading invalid memory when loading a map inside a pk3 that has no REJECT table.
This commit is contained in:
parent
0df494d30d
commit
de51d065b0
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue