K_CeremonyDrawer: Adjust "EMERALD" option in case we don't come back to this later

- Show as "???" if you've never been in a Special round before
- Show as "PRIZE" if the cup doesn't use an Emerald
This commit is contained in:
toaster 2023-05-08 15:01:39 +01:00
parent 4cb639307c
commit 1ed022d697

View file

@ -529,8 +529,21 @@ void K_CeremonyDrawer(void)
}
case 7:
{
const char *emeraldstr = "???";
if (gamedata->everseenspecial == true)
{
emeraldstr =
(grandprixinfo.gp == true
&& grandprixinfo.cup != NULL
&& grandprixinfo.cup->emeraldnum > 0)
? "EMERALD"
: "PRIZE";
}
V_DrawString(x, y, V_ALLOWLOWERCASE,
va("EMERALD: %s", (podiumData.rank.specialWon == true) ? "YES" : "NO")
va("%s: %s",
emeraldstr,
(podiumData.rank.specialWon == true) ? "YES" : "NO")
);
break;
}