mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-09 15:54:47 -07:00
converted SetCardAttr attr_name to enum
This commit is contained in:
parent
4634787b00
commit
609e3fc41d
12 changed files with 83 additions and 68 deletions
|
|
@ -201,7 +201,7 @@ void TableZone::toggleTapped()
|
|||
Command_SetCardAttr *cmd = new Command_SetCardAttr;
|
||||
cmd->set_zone(name.toStdString());
|
||||
cmd->set_card_id(temp->getId());
|
||||
cmd->set_attr_name("tapped");
|
||||
cmd->set_attribute(AttrTapped);
|
||||
cmd->set_attr_value(tapAll ? "1" : "0");
|
||||
cmdList.append(cmd);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue