mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-22 22:53:55 -07:00
refactor: remove cipt param from Player::playCard (#5266)
This commit is contained in:
parent
245d51caea
commit
c716f85962
4 changed files with 10 additions and 15 deletions
|
|
@ -319,8 +319,7 @@ void ArrowAttachItem::attachCards(CardItem *startCard, const CardItem *targetCar
|
|||
|
||||
// move card onto table first if attaching from some other zone
|
||||
if (startZone->getName() != "table") {
|
||||
auto info = startCard->getInfo();
|
||||
player->playCardToTable(startCard, false, info ? info->getCipt() : false);
|
||||
player->playCardToTable(startCard, false);
|
||||
}
|
||||
|
||||
Command_AttachCard cmd;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue