From 413008eafb6cab3f2e24ca23e7e5c052dd04ddd9 Mon Sep 17 00:00:00 2001 From: thecharlesblake Date: Thu, 18 Jan 2018 13:57:53 +0000 Subject: Fix sol_rules setup issues --- src/main/game/sol_rules.cpp | 4 ++-- src/main/game/sol_rules.h | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'src/main/game') diff --git a/src/main/game/sol_rules.cpp b/src/main/game/sol_rules.cpp index 6c16b4a..7311e06 100644 --- a/src/main/game/sol_rules.cpp +++ b/src/main/game/sol_rules.cpp @@ -18,12 +18,12 @@ sol_rules::sol_rules() : two_decks(false), max_rank(13), hole(false), - foundations(true), + foundations(false), foundations_init_card(false), diagonal_deal(false), cells(0), stock_size(0), - stock_deal_t(sdt::WASTE), + stock_deal_t(sdt::TABLEAU_PILES), reserve_size(0), reserve_stacked(false) { } diff --git a/src/main/game/sol_rules.h b/src/main/game/sol_rules.h index 8aae42b..067e107 100644 --- a/src/main/game/sol_rules.h +++ b/src/main/game/sol_rules.h @@ -9,8 +9,6 @@ #include -#include "card.h" - struct sol_rules { sol_rules(); @@ -35,7 +33,7 @@ struct sol_rules { spaces_policy spaces_pol; bool move_built_group; bool two_decks; - card::rank_t max_rank; + uint8_t max_rank; bool hole; bool foundations; bool foundations_init_card; -- cgit v1.2.1