fix deck card backs (#2645)

This commit is contained in:
ctrlaltca 2017-04-25 17:32:00 +02:00 committed by Zach H
parent ab94d2c91d
commit 3f3839d70a

View file

@ -92,7 +92,7 @@ void AbstractCardItem::paintPicture(QPainter *painter, const QSizeF &translatedS
QPixmap translatedPixmap;
bool paintImage = true;
if(facedown)
if(facedown || name.isEmpty())
{
// never reveal card color, always paint the card back
PictureLoader::getCardBackPixmap(translatedPixmap, translatedSize.toSize());