mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-25 08:03:54 -07:00
cleaner implementation of loyalty display criterium
This commit is contained in:
parent
ccfdc0a084
commit
f622a41e7a
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ bool CardInfoWidget::shouldShowPowTough()
|
||||||
|
|
||||||
bool CardInfoWidget::shouldShowLoyalty()
|
bool CardInfoWidget::shouldShowLoyalty()
|
||||||
{
|
{
|
||||||
return (info->getMainCardType() == "Planeswalker");
|
return (info->getLoyalty() > 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CardInfoWidget::setMinimized(int _minimized)
|
void CardInfoWidget::setMinimized(int _minimized)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue