mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-14 13:51:31 +00:00
Merge branch 'fix-memory-leak' into 'master'
Fix the Memory Leak See merge request KartKrew/Kart!100
This commit is contained in:
commit
ffcb6eb6ab
1 changed files with 6 additions and 6 deletions
|
@ -7053,9 +7053,9 @@ static void K_drawKartMinimapHead(mobj_t *mo, INT32 x, INT32 y, INT32 flags, pat
|
||||||
{
|
{
|
||||||
UINT8 *colormap;
|
UINT8 *colormap;
|
||||||
if (mo->colorized)
|
if (mo->colorized)
|
||||||
colormap = R_GetTranslationColormap(TC_RAINBOW, mo->color, 0);
|
colormap = R_GetTranslationColormap(TC_RAINBOW, mo->color, GTC_CACHE);
|
||||||
else
|
else
|
||||||
colormap = R_GetTranslationColormap(skin, mo->color, 0);
|
colormap = R_GetTranslationColormap(skin, mo->color, GTC_CACHE);
|
||||||
V_DrawFixedPatch(amxpos, amypos, FRACUNIT, flags, facemmapprefix[skin], colormap);
|
V_DrawFixedPatch(amxpos, amypos, FRACUNIT, flags, facemmapprefix[skin], colormap);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue