mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-11 02:26:10 -05:00
Decklist testing (#2537)
This commit is contained in:
@@ -173,11 +173,11 @@ float InnerDecklistNode::recursivePrice(bool countTotalCards) const
|
||||
bool InnerDecklistNode::compare(AbstractDecklistNode *other) const
|
||||
{
|
||||
switch (sortMethod) {
|
||||
case 0:
|
||||
case ByNumber:
|
||||
return compareNumber(other);
|
||||
case 1:
|
||||
case ByName:
|
||||
return compareName(other);
|
||||
case 2:
|
||||
case ByPrice:
|
||||
return comparePrice(other);
|
||||
}
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user