mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
fixed clone function, updated servatrice.ini.example to reflect changes in room creation syntax
This commit is contained in:
parent
13d3de5c1c
commit
c7fa2fe985
2 changed files with 11 additions and 10 deletions
|
|
@ -1721,7 +1721,7 @@ void Player::cardMenuAction()
|
|||
cardList.append(qgraphicsitem_cast<CardItem *>(sel.takeFirst()));
|
||||
|
||||
QList< const ::google::protobuf::Message * > commandList;
|
||||
if (a->data().toInt() <= 4)
|
||||
if (a->data().toInt() <= (int) cmClone)
|
||||
for (int i = 0; i < cardList.size(); ++i) {
|
||||
CardItem *card = cardList[i];
|
||||
switch (static_cast<CardMenuActionType>(a->data().toInt())) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue