mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
Merge pull request #6300 from GameDragon2k/master
Small fix for certain RetroAchievement conditions.
This commit is contained in:
commit
a6539570a2
@ -1691,9 +1691,13 @@ 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;
|
||||
{
|
||||
cheevos_locals.add_hits = 0;
|
||||
continue;
|
||||
}
|
||||
|
||||
cond_valid = cheevos_test_condition(cond);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user