From e67f7bf59d5d6a36461420a569674b70d5097ba5 Mon Sep 17 00:00:00 2001 From: James R Date: Tue, 27 Feb 2024 06:15:24 -0800 Subject: [PATCH] Unlocks: require parameter for IsDifficulty condition --- src/deh_soc.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/deh_soc.c b/src/deh_soc.c index 0ddb0c5c7..e98dd0ed3 100644 --- a/src/deh_soc.c +++ b/src/deh_soc.c @@ -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"))