mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-08 00:53:57 -07:00
fix bug with multi-attach sometimes only attaching one card (#5272)
This commit is contained in:
parent
90281262be
commit
17e6bfaca6
2 changed files with 15 additions and 4 deletions
|
|
@ -21,6 +21,7 @@ protected:
|
|||
Player *player;
|
||||
int id;
|
||||
ArrowTarget *startItem, *targetItem;
|
||||
bool targetLocked;
|
||||
QColor color;
|
||||
bool fullColor;
|
||||
void mousePressEvent(QGraphicsSceneMouseEvent *event);
|
||||
|
|
@ -64,6 +65,10 @@ public:
|
|||
{
|
||||
return targetItem;
|
||||
}
|
||||
void setTargetLocked(bool _targetLocked)
|
||||
{
|
||||
targetLocked = _targetLocked;
|
||||
}
|
||||
void delArrow();
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue