From 7846f0312b10d16822cfcc348d7f7850c950fee7 Mon Sep 17 00:00:00 2001 From: Andre Leiradella Date: Sat, 26 Aug 2017 12:44:35 +0100 Subject: [PATCH] Conditions are true by default --- cheevos/cheevos.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cheevos/cheevos.c b/cheevos/cheevos.c index b71f7ff093..ee089d667a 100644 --- a/cheevos/cheevos.c +++ b/cheevos/cheevos.c @@ -1883,10 +1883,8 @@ static int cheevos_test_condition(cheevos_cond_t *cond) case CHEEVOS_COND_OP_NOT_EQUAL_TO: return sval != tval; default: - break; + return 1; } - - return 0; } static int cheevos_test_cond_set(const cheevos_condset_t *condset,