From 68118191619b26ffa908c86679c51c4db0d61125 Mon Sep 17 00:00:00 2001 From: woogerboy21 Date: Thu, 13 Nov 2014 20:31:55 -0500 Subject: [PATCH] Don't remove card images from revealed decks Revealed library had write access, which meant that the user would see cards being removed from the zone as the other player drew cards. The cards were not the actual ones drawn, just the ones at the same index, so no information was leaked. Fix #297 --- cockatrice/src/player.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/cockatrice/src/player.cpp b/cockatrice/src/player.cpp index 16b77eae..6667d040 100644 --- a/cockatrice/src/player.cpp +++ b/cockatrice/src/player.cpp @@ -493,7 +493,6 @@ void Player::playerListActionTriggered() if (menu == mRevealLibrary) { cmd.set_zone_name("deck"); - cmd.set_grant_write_access(true); } else if (menu == mRevealTopCard) { cmd.set_zone_name("deck"); cmd.set_card_id(0);