Custom Cup monitor now shows up in Statistics Menu

toaster asked me to paste this code in, she's busy w/ break-through-them-all
This commit is contained in:
VelocitOni 2023-10-19 12:47:34 -04:00
parent 2ab6710e29
commit a25b6ca49f

View file

@ -2467,7 +2467,8 @@ fixed_t M_DrawCupWinData(INT32 rankx, INT32 ranky, cupheader_t *cup, UINT8 diffi
if (statsmode) 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; UINT16 moncolor = SKINCOLOR_NONE;
switch (windata->best_placement) switch (windata->best_placement)