Tracerestrict: Remove TRSCOF_ACQUIRE_TRY_ON_RESERVE, same as TRSCOF_ACQUIRE_TRY

This commit is contained in:
Jonathan G Rennison
2024-01-20 22:49:55 +00:00
parent fc51491361
commit d62ae41e03
10 changed files with 4 additions and 21 deletions

View File

@@ -81,6 +81,10 @@ static void Load_TRRP()
TraceRestrictItem &item = prog->items[i]; // note this is a reference
if (GetTraceRestrictType(item) == TRIT_SLOT) {
TraceRestrictSlotSubtypeField subtype = static_cast<TraceRestrictSlotSubtypeField>(GetTraceRestrictCondOp(item));
if (subtype == 7) {
/* Was TRSCOF_ACQUIRE_TRY_ON_RESERVE */
subtype = TRSCOF_ACQUIRE_TRY;
}
SetTraceRestrictCombinedAuxCondOpField(item, subtype);
}
if (IsTraceRestrictDoubleItem(item)) i++;