Codechange: Use EnumBitSet for QueryStringFlags. (#13792)

This commit is contained in:
Peter Nelson
2025-03-10 18:59:35 +00:00
committed by GitHub
parent 1a53b48422
commit 3eb89f04b5
22 changed files with 53 additions and 54 deletions

View File

@@ -1345,7 +1345,7 @@ public:
assert(order != nullptr);
uint value = order->GetConditionValue();
if (order->GetConditionVariable() == OCV_MAX_SPEED) value = ConvertSpeedToDisplaySpeed(value, this->vehicle->type);
ShowQueryString(GetString(STR_JUST_INT, value), STR_ORDER_CONDITIONAL_VALUE_CAPT, 5, this, CS_NUMERAL, QSF_NONE);
ShowQueryString(GetString(STR_JUST_INT, value), STR_ORDER_CONDITIONAL_VALUE_CAPT, 5, this, CS_NUMERAL, {});
break;
}