Unlocks: require parameter for IsDifficulty condition

This commit is contained in:
James R 2024-02-27 06:15:24 -08:00
parent b48924f539
commit e67f7bf59d

View file

@ -2975,13 +2975,11 @@ static void readcondition(UINT16 set, UINT32 id, char *word2)
}
else if (fastcmp(params[0], "ISDIFFICULTY"))
{
//PARAMCHECK(1);
PARAMCHECK(1);
ty = UCRP_ISDIFFICULTY;
re = KARTSPEED_NORMAL;
if (params[1])
{
if (fastcmp(params[1], "NORMAL"))
;
re = KARTSPEED_NORMAL;
else if (fastcmp(params[1], "HARD"))
re = KARTSPEED_HARD;
else if (fastcmp(params[1], "MASTER"))