mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-02 05:02:55 +00:00
UCRP_ISCHARACTER:: Show as "???" if you haven't unlocked the character
This commit is contained in:
parent
9f1ab11bb1
commit
49f7b75454
1 changed files with 4 additions and 1 deletions
|
|
@ -1268,7 +1268,10 @@ static const char *M_GetConditionString(condition_t *cn)
|
|||
case UCRP_ISCHARACTER:
|
||||
if (cn->requirement < 0 || !skins[cn->requirement].realname[0])
|
||||
return va("INVALID CHAR CONDITION \"%d:%d\"", cn->type, cn->requirement);
|
||||
return va("as %s", skins[cn->requirement].realname);
|
||||
work = (R_SkinUsable(-1, cn->requirement, false))
|
||||
? skins[cn->requirement].realname
|
||||
: "???";
|
||||
return va("as %s", work);
|
||||
case UCRP_ISENGINECLASS:
|
||||
return va("with engine class %c", 'A' + cn->requirement);
|
||||
case UCRP_ISDIFFICULTY:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue