mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 20:41:46 +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)
|
if (cupgrid.cappages == 0)
|
||||||
{
|
{
|
||||||
cupgrid.cappages = 2;
|
cupgrid.cappages = 2;
|
||||||
cupgrid.builtgrid = Z_Calloc(
|
cupgrid.builtgrid = Z_Malloc(
|
||||||
cupgrid.cappages * pagelen,
|
cupgrid.cappages * pagelen,
|
||||||
PU_STATIC,
|
PU_STATIC,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue