ignore unofficial achievements unless setting is enabled
This commit is contained in:
parent
a93a2e3366
commit
f2bc7caad9
|
@ -720,11 +720,12 @@ static void rcheevos_client_copy_achievements(
|
||||||
|
|
||||||
if (definition->category != 3)
|
if (definition->category != 3)
|
||||||
{
|
{
|
||||||
achievement->active = RCHEEVOS_ACTIVE_UNOFFICIAL;
|
if (!settings->bools.cheevos_test_unofficial)
|
||||||
|
continue;
|
||||||
|
|
||||||
if (settings->bools.cheevos_test_unofficial)
|
achievement->active = RCHEEVOS_ACTIVE_UNOFFICIAL
|
||||||
achievement->active |= RCHEEVOS_ACTIVE_SOFTCORE
|
| RCHEEVOS_ACTIVE_SOFTCORE
|
||||||
| RCHEEVOS_ACTIVE_HARDCORE;
|
| RCHEEVOS_ACTIVE_HARDCORE;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue