fix card moving on server (#4413)

* wip fix card moving on server

* fix flipped cards being moved as -1
This commit is contained in:
ebbit1q 2021-09-14 21:48:46 +02:00 committed by GitHub
parent affc288144
commit c25bf491e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 128 additions and 132 deletions

View file

@ -175,8 +175,8 @@ public:
Server_CardZone *startzone,
const QList<const CardToMove *> &_cards,
Server_CardZone *targetzone,
int x,
int y,
int xCoord,
int yCoord,
bool fixFreeSpaces = true,
bool undoingDraw = false);
void unattachCard(GameEventStorage &ges, Server_Card *card);