mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'third-page-problems' into 'master'
Third Page Problems See merge request KartKrew/Kart!911
This commit is contained in:
commit
c192acf9a2
1 changed files with 1 additions and 2 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);
|
||||||
|
|
@ -288,7 +288,6 @@ boolean M_LevelListFromGametype(INT16 gt)
|
||||||
I_Error("M_LevelListFromGametype: Not enough memory to reallocate builtgrid");
|
I_Error("M_LevelListFromGametype: Not enough memory to reallocate builtgrid");
|
||||||
}
|
}
|
||||||
|
|
||||||
memset(cupgrid.builtgrid + firstlen, 0, firstlen);
|
|
||||||
cupgrid.cappages *= 2;
|
cupgrid.cappages *= 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue