From 5aa1cfea212cfd8776a83bb5c1ba1be4356af1c2 Mon Sep 17 00:00:00 2001 From: ZeldaZach Date: Sat, 4 Jan 2025 04:23:09 -0500 Subject: [PATCH] Cleanup --- cockatrice/src/game/zones/view_zone.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cockatrice/src/game/zones/view_zone.cpp b/cockatrice/src/game/zones/view_zone.cpp index 05c7ec0aa..b4fa7365a 100644 --- a/cockatrice/src/game/zones/view_zone.cpp +++ b/cockatrice/src/game/zones/view_zone.cpp @@ -121,7 +121,7 @@ void ZoneViewZone::updateCardIds(CardAction action) if (isReversed) { // these get called after this zone's card list updates but before parent zone's card list updates - startId = origZone->getCards().size() - cards.size(); + startId = origZone->getCards().size() - cardCount; switch (action) { case INITIALIZE: break;