mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
M_LevelListFromGametype: Z_Malloc instead of Z_Calloc for initialisation of cupgrid.builtgrid
A memset is already guaranteed to follow this initialisation.
This commit is contained in:
parent
8b7faa10c1
commit
daf11a1407
1 changed files with 1 additions and 1 deletions
|
|
@ -251,7 +251,7 @@ boolean M_LevelListFromGametype(INT16 gt)
|
|||
if (cupgrid.cappages == 0)
|
||||
{
|
||||
cupgrid.cappages = 2;
|
||||
cupgrid.builtgrid = Z_Calloc(
|
||||
cupgrid.builtgrid = Z_Malloc(
|
||||
cupgrid.cappages * pagelen,
|
||||
PU_STATIC,
|
||||
NULL);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue