cleaner implementation of loyalty display criterium

This commit is contained in:
Max-Wilhelm Bruker
2012-01-29 17:00:57 +01:00
parent ccfdc0a084
commit f622a41e7a

View File

@@ -97,7 +97,7 @@ bool CardInfoWidget::shouldShowPowTough()
bool CardInfoWidget::shouldShowLoyalty()
{
return (info->getMainCardType() == "Planeswalker");
return (info->getLoyalty() > 0);
}
void CardInfoWidget::setMinimized(int _minimized)