mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-03 20:13:56 -07:00
Readability tweak
This commit is contained in:
parent
66678e95dc
commit
e423fb2a39
1 changed files with 8 additions and 9 deletions
|
|
@ -2159,8 +2159,7 @@ void Player::updateCardMenu(CardItem *card)
|
|||
|
||||
bool revealedCard = false;
|
||||
bool writeableCard = getLocal();
|
||||
if (card->getZone())
|
||||
if (card->getZone()->getIsView()) {
|
||||
if (card->getZone() && card->getZone()->getIsView()) {
|
||||
ZoneViewZone *view = static_cast<ZoneViewZone *>(card->getZone());
|
||||
if (view->getRevealZone()) {
|
||||
if (view->getWriteableRevealZone())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue