mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-09 15:54:47 -07:00
minor bug fix
This commit is contained in:
parent
27d954267c
commit
c4cb0f6354
3 changed files with 10 additions and 1 deletions
|
|
@ -794,8 +794,10 @@ void Player::eventMoveCard(Event_MoveCard *event)
|
|||
|
||||
card->setId(event->getNewCardId());
|
||||
card->setFaceDown(event->getFaceDown());
|
||||
if (startZone != targetZone)
|
||||
if (startZone != targetZone) {
|
||||
card->setBeingPointedAt(false);
|
||||
card->setHovered(false);
|
||||
}
|
||||
|
||||
// The log event has to be sent before the card is added to the target zone
|
||||
// because the addCard function can modify the card object.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue