From 390a3cb4f15d84cde2312411b16203b70dbb2df5 Mon Sep 17 00:00:00 2001 From: Charlie Blake Date: Mon, 23 Jul 2018 10:31:37 +0100 Subject: Add foundation wrap logic and fix top-of-waste bug --- src/main/input-output/input/json-parsing/deal_parser.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/main/input-output/input/json-parsing/deal_parser.cpp') diff --git a/src/main/input-output/input/json-parsing/deal_parser.cpp b/src/main/input-output/input/json-parsing/deal_parser.cpp index e51313f..b80ac0e 100644 --- a/src/main/input-output/input/json-parsing/deal_parser.cpp +++ b/src/main/input-output/input/json-parsing/deal_parser.cpp @@ -209,10 +209,6 @@ void deal_parser::parse_reserve(game_state &gs, const Document& doc) { // We treat a regular reserve like multiple single-card piles, // but a stacked reserve as a single multiple-card pile - if (json_reserve_piles.Size() != gs.rules.reserve_size) { - json_helper::json_parse_err("Incorrect reserve size"); - } - for (pile::ref i = 0; i < json_card_arr.Size(); i++) { assert(json_card_arr[i].IsString()); pile::ref pr = gs.original_reserve[0]; -- cgit v1.2.1