From 1670137064536e2214d472be3a9870713aab1b34 Mon Sep 17 00:00:00 2001 From: Christian Daniel Jensen Date: Mon, 2 Nov 2026 01:52:21 -0700 Subject: [PATCH] Continuumatrice: add Limbo Refuge Oblivion support to player_actions.cpp --- .../game/player/player_actions.cpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/libcockatrice_game/libcockatrice/game/player/player_actions.cpp b/libcockatrice_game/libcockatrice/game/player/player_actions.cpp index 90823fec6..966b145af 100644 --- a/libcockatrice_game/libcockatrice/game/player/player_actions.cpp +++ b/libcockatrice_game/libcockatrice/game/player/player_actions.cpp @@ -1974,6 +1974,23 @@ void PlayerActions::cardMenuAction(QList selectedCards, CardMenuAct commandList.append(cmd); break; } + case cmMoveToLimbo: + case cmMoveToRefuge: + case cmMoveToOblivion: { + auto *cmd = new Command_MoveCard; + cmd->set_start_player_id(startPlayerId); + cmd->set_start_zone(startZone.toStdString()); + cmd->mutable_cards_to_move()->CopyFrom(idList); + cmd->set_target_player_id(player->getPlayerInfo()->getId()); + const char *targetZone = type == cmMoveToLimbo ? ZoneNames::LIMBO + : type == cmMoveToRefuge ? ZoneNames::REFUGE + : ZoneNames::OBLIVION; + cmd->set_target_zone(targetZone); + cmd->set_x(0); + cmd->set_y(0); + commandList.append(cmd); + break; + } case cmMoveToTable: { // Each card needs its own command because table row, pt, and cipt vary per card for (const auto &card : cardList) {