Replay hut: Show nolvl if the user hasn't added the map, or blanklvl if they have.

This commit is contained in:
toaster 2022-09-17 00:03:49 +01:00
parent acc92ba4c9
commit 1fbd5655f5

View file

@ -3860,10 +3860,15 @@ void M_DrawReplayHutReplayInfo(void)
if (mapheaderinfo[extrasmenu.demolist[dir_on[menudepthleft]].map])
{
patch = mapheaderinfo[extrasmenu.demolist[dir_on[menudepthleft]].map]->thumbnailPic;
if (!patch)
{
patch = blanklvl;
}
}
if (!patch)
else if (!patch)
{
patch = W_CachePatchName("M_NOLVL", PU_CACHE);
}
if (!(extrasmenu.demolist[dir_on[menudepthleft]].kartspeed & DF_ENCORE))
V_DrawSmallScaledPatch(x, y, V_SNAPTOTOP, patch);