mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-30 12:59:16 -05:00
cleaner implementation of loyalty display criterium
This commit is contained in:
@@ -97,7 +97,7 @@ bool CardInfoWidget::shouldShowPowTough()
|
||||
|
||||
bool CardInfoWidget::shouldShowLoyalty()
|
||||
{
|
||||
return (info->getMainCardType() == "Planeswalker");
|
||||
return (info->getLoyalty() > 0);
|
||||
}
|
||||
|
||||
void CardInfoWidget::setMinimized(int _minimized)
|
||||
|
||||
Reference in New Issue
Block a user