fix deck card backs (#2645)
This commit is contained in:
parent
ab94d2c91d
commit
3f3839d70a
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ void AbstractCardItem::paintPicture(QPainter *painter, const QSizeF &translatedS
|
||||||
QPixmap translatedPixmap;
|
QPixmap translatedPixmap;
|
||||||
bool paintImage = true;
|
bool paintImage = true;
|
||||||
|
|
||||||
if(facedown)
|
if(facedown || name.isEmpty())
|
||||||
{
|
{
|
||||||
// never reveal card color, always paint the card back
|
// never reveal card color, always paint the card back
|
||||||
PictureLoader::getCardBackPixmap(translatedPixmap, translatedSize.toSize());
|
PictureLoader::getCardBackPixmap(translatedPixmap, translatedSize.toSize());
|
||||||
|
|
Loading…
Reference in a new issue