mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 00:24:47 -07:00
card filter: alphabetical ordering for keywords (#2987)
This commit is contained in:
parent
d124e6ac22
commit
e6e6932dbb
2 changed files with 16 additions and 16 deletions
|
|
@ -20,25 +20,25 @@ const char *CardFilter::attrName(Attr a)
|
|||
{
|
||||
switch (a) {
|
||||
case AttrName:
|
||||
return "name";
|
||||
return "Name";
|
||||
case AttrType:
|
||||
return "type";
|
||||
return "Type";
|
||||
case AttrColor:
|
||||
return "color";
|
||||
return "Color";
|
||||
case AttrText:
|
||||
return "text";
|
||||
return "Text";
|
||||
case AttrSet:
|
||||
return "set";
|
||||
return "Set";
|
||||
case AttrManaCost:
|
||||
return "mana cost";
|
||||
return "Mana Cost";
|
||||
case AttrCmc:
|
||||
return "cmc";
|
||||
return "CMC";
|
||||
case AttrRarity:
|
||||
return "rarity";
|
||||
return "Rarity";
|
||||
case AttrPow:
|
||||
return "power";
|
||||
return "Power";
|
||||
case AttrTough:
|
||||
return "toughness";
|
||||
return "Toughness";
|
||||
default:
|
||||
return "";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue