mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
parent
7c1a18da5e
commit
12c9e4b81a
4 changed files with 56 additions and 4 deletions
|
|
@ -341,7 +341,7 @@ Response::ResponseCode Server_Player::moveCard(GameEventStorage &ges, Server_Car
|
|||
if (((targetzone->getType() != ServerInfo_Zone::PublicZone) || !targetzone->hasCoords()) && (startzone->getPlayer() != targetzone->getPlayer()))
|
||||
return Response::RespContextError;
|
||||
|
||||
if (!targetzone->hasCoords() && (x == -1))
|
||||
if (!targetzone->hasCoords() && (x <= -1))
|
||||
x = targetzone->getCards().size();
|
||||
|
||||
QList<QPair<Server_Card *, int> > cardsToMove;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue