Commit f622a41e authored by Max-Wilhelm Bruker's avatar Max-Wilhelm Bruker
Browse files

cleaner implementation of loyalty display criterium

parent ccfdc0a0
......@@ -97,7 +97,7 @@ bool CardInfoWidget::shouldShowPowTough()
bool CardInfoWidget::shouldShowLoyalty()
{
return (info->getMainCardType() == "Planeswalker");
return (info->getLoyalty() > 0);
}
void CardInfoWidget::setMinimized(int _minimized)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment