remove cards being looked at from the count on drawing (#4671)

This commit is contained in:
ebbit1q 2022-10-17 22:35:54 +02:00 committed by GitHub
parent 90f187e885
commit a7232513a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View file

@ -68,7 +68,7 @@ public:
}
void setCardsBeingLookedAt(int _cardsBeingLookedAt)
{
cardsBeingLookedAt = _cardsBeingLookedAt;
cardsBeingLookedAt = qMax(0, _cardsBeingLookedAt);
}
bool isCardAtPosLookedAt(int pos) const;
bool hasCoords() const