Reset Add buffer when hit condition is triggered
This commit is contained in:
parent
2b02616512
commit
44d3561468
|
@ -1691,10 +1691,10 @@ static int cheevos_test_cond_set(const cheevos_condset_t *condset,
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( (cheevos_locals.add_hits > 0) &&
|
if ( (cond->req_hits != 0) &&
|
||||||
(cond->req_hits != 0) &&
|
|
||||||
(cond->curr_hits + cheevos_locals.add_hits) >= cond->req_hits)
|
(cond->curr_hits + cheevos_locals.add_hits) >= cond->req_hits)
|
||||||
{
|
{
|
||||||
|
cheevos_locals.add_buffer = 0;
|
||||||
cheevos_locals.add_hits = 0;
|
cheevos_locals.add_hits = 0;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue