mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-13 14:02:15 -07:00
Static helpers.
Took 2 minutes Took 29 seconds
This commit is contained in:
parent
64bb5355ff
commit
caeab4718c
3 changed files with 3 additions and 3 deletions
|
|
@ -622,7 +622,7 @@ bool DeckListModel::isCardLegalForCurrentFormat(const CardInfoPtr cardInfo)
|
|||
return true;
|
||||
}
|
||||
|
||||
int maxAllowedForLegality(const FormatRules &format, const QString &legality)
|
||||
static int maxAllowedForLegality(const FormatRules &format, const QString &legality)
|
||||
{
|
||||
for (const AllowedCount &c : format.allowedCounts) {
|
||||
if (c.label == legality) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue