Remove revealedCard flag from CardItem (#5723)

It is no longer used since #5254.
This commit is contained in:
Basile Clement 2025-03-15 20:09:14 +01:00 committed by GitHub
parent e4f40a82a2
commit 1851f71850
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 13 deletions

View file

@ -22,10 +22,9 @@ CardItem::CardItem(Player *_owner,
const QString &_name,
const QString &_providerId,
int _cardid,
bool _revealedCard,
CardZone *_zone)
: AbstractCardItem(parent, _name, _providerId, _owner, _cardid), zone(_zone), revealedCard(_revealedCard),
attacking(false), destroyOnZoneChange(false), doesntUntap(false), dragItem(nullptr), attachedTo(nullptr)
: AbstractCardItem(parent, _name, _providerId, _owner, _cardid), zone(_zone), attacking(false),
destroyOnZoneChange(false), doesntUntap(false), dragItem(nullptr), attachedTo(nullptr)
{
owner->addCard(this);