mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Replay hut: Show nolvl if the user hasn't added the map, or blanklvl if they have.
This commit is contained in:
parent
acc92ba4c9
commit
1fbd5655f5
1 changed files with 7 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue