Include the card attributes pb in player_actions.h

Took 11 minutes
This commit is contained in:
Lukas Brübach 2025-10-06 00:15:41 +02:00
parent e7eb3d2166
commit d6cda96ed5
3 changed files with 3 additions and 2 deletions

View file

@ -13,6 +13,7 @@
#include <QMenu>
#include <QObject>
#include <libcockatrice/card/card_relation/card_relation_type.h>
#include <libcockatrice/protocol/pb/card_attributes.pb.h>
namespace google
{

View file

@ -112,7 +112,7 @@ void ZoneViewZone::zoneDumpReceived(const Response &r)
qobject_cast<ZoneViewZoneLogic *>(getLogic())->updateCardIds(ZoneViewZoneLogic::INITIALIZE);
reorganizeCards();
emit getLogic()->cardCountChanged();
emit getLogic() -> cardCountChanged();
}
// Because of boundingRect(), this function must not be called before the zone was added to a scene.