Fix issue regarding Add Hits condition type

This commit is contained in:
GameDragon2k 2018-02-13 21:43:41 -05:00
parent 71b423c572
commit 79219c1640

View File

@ -1691,9 +1691,12 @@ static int cheevos_test_cond_set(const cheevos_condset_t *condset,
continue;
}
if ( (cond->req_hits != 0) &&
if ( (cheevos_locals.add_hits > 0) &&
(cond->req_hits != 0) &&
(cond->curr_hits + cheevos_locals.add_hits) >= cond->req_hits)
continue;
{
continue;
}
cond_valid = cheevos_test_condition(cond);