mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-11 08:06:06 +00:00
Fix debugger breaking, reduce size
This commit is contained in:
parent
c184567361
commit
2a546df3fb
2 changed files with 3 additions and 1 deletions
|
|
@ -334,7 +334,7 @@ struct skybox_t {
|
|||
|
||||
// Doing this the right way is causing problems.
|
||||
// so FINE, it's a static length now.
|
||||
#define ITEM_LIST_SIZE (NUMKARTRESULTS * 20)
|
||||
#define ITEM_LIST_SIZE (NUMKARTRESULTS << 2)
|
||||
|
||||
struct itemroulette_t
|
||||
{
|
||||
|
|
|
|||
|
|
@ -4551,7 +4551,9 @@ static void K_drawDistributionDebugger(void)
|
|||
V_DrawString((x >> FRACBITS) + 20, 2, V_ALLOWLOWERCASE|V_SNAPTOTOP, va("useOdds[%u]", rouletteData.useOdds));
|
||||
V_DrawString((x >> FRACBITS) + 20, 10, V_ALLOWLOWERCASE|V_SNAPTOTOP, va("speed = %u", rouletteData.speed));
|
||||
|
||||
#ifndef ITEM_LIST_SIZE
|
||||
Z_Free(rouletteData.itemList);
|
||||
#endif
|
||||
}
|
||||
|
||||
static void K_DrawWaypointDebugger(void)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue