Reduce stack usage during static initialization (#4184)

* Reduce stack usage during static initialization

* Implement `ABS` macro for `TWO_ACTOR_PARAMS`
This commit is contained in:
GaryOderNichts 2024-06-16 05:28:42 +02:00 committed by GitHub
commit f99993af85
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 32 additions and 26 deletions

View file

@ -1089,7 +1089,7 @@ bool ShouldShowCheck(RandomizerCheckObject check) {
IsVisibleInCheckTracker(check) &&
(checkSearch.Filters.Size == 0 ||
checkSearch.PassFilter(RandomizerCheckObjects::GetRCAreaName(check.rcArea).c_str()) ||
checkSearch.PassFilter(check.rcShortName.c_str()))
checkSearch.PassFilter(check.rcShortName))
);
}