complete server-side AlwaysRevealTopCard support, related to issue #31

This commit is contained in:
Max-Wilhelm Bruker 2012-03-31 22:47:42 +02:00
parent 005a4363d3
commit 840b577f42
2 changed files with 40 additions and 3 deletions

View file

@ -13,7 +13,6 @@
ZoneViewZone::ZoneViewZone(Player *_p, CardZone *_origZone, int _numberCards, bool _revealZone, bool _writeableRevealZone, QGraphicsItem *parent)
: SelectZone(_p, _origZone->getName(), false, false, true, parent, true), bRect(QRectF()), minRows(0), numberCards(_numberCards), origZone(_origZone), revealZone(_revealZone), writeableRevealZone(_writeableRevealZone), sortByName(false), sortByType(false)
{
qDebug() << "revealZone=" << revealZone << "writeable=" << writeableRevealZone;
if (!(revealZone && !writeableRevealZone))
origZone->setView(this);
}