Merge branch 'Custom-Cup-statistics-menu-icon' into 'master'

Custom Cup monitor now shows up in Statistics Menu

See merge request KartKrew/Kart!1568
This commit is contained in:
toaster 2023-10-19 16:53:39 +00:00
commit de5b151985

View file

@ -2467,7 +2467,8 @@ fixed_t M_DrawCupWinData(INT32 rankx, INT32 ranky, cupheader_t *cup, UINT8 diffi
if (statsmode)
{
patch_t *monPat = W_CachePatchName(va("CUPMON%c%c", '0' + cup->monitor, 'C'), PU_CACHE);
const char monitorletter = (cup->monitor < 10) ? ('0' + cup->monitor) : ('A' + (cup->monitor - 10));
patch_t *monPat = W_CachePatchName(va("CUPMON%c%c", monitorletter, 'C'), PU_CACHE);
UINT16 moncolor = SKINCOLOR_NONE;
switch (windata->best_placement)