mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
fixed dynamic table resizing
This commit is contained in:
parent
cd13583619
commit
aa9ebd3179
5 changed files with 28 additions and 41 deletions
|
|
@ -332,7 +332,7 @@ void Player::gameEvent(const ServerEventData &event)
|
|||
position = 0;
|
||||
if (x == -1)
|
||||
x = 0;
|
||||
CardItem *card = startZone->takeCard(position, cardId, cardName);
|
||||
CardItem *card = startZone->takeCard(position, cardId, cardName, startZone != targetZone);
|
||||
if (!card) // XXX
|
||||
qDebug("moveCard: card not found");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue