aboutsummaryrefslogtreecommitdiff
path: root/src/main/game/game_state.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/game/game_state.cpp')
-rw-r--r--src/main/game/game_state.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/game/game_state.cpp b/src/main/game/game_state.cpp
index caabb18..319bf5d 100644
--- a/src/main/game/game_state.cpp
+++ b/src/main/game/game_state.cpp
@@ -20,6 +20,7 @@ using namespace boost;
typedef sol_rules::build_order ord;
typedef sol_rules::build_policy pol;
+typedef sol_rules::spaces_policy s_pol;
// A private constructor used by both of the public ones. Initializes all of the
// piles and pile refs specified by the rules
@@ -28,7 +29,8 @@ game_state::game_state(const sol_rules& s_rules) :
// Creates the tableau piles
for (uint8_t i = 0; i < rules.tableau_pile_count; i++) {
- piles.push_back(pile::tableau_factory(rules.build_ord, rules.build_pol));
+ piles.push_back(pile::tableau_factory(rules.build_ord, rules.build_pol,
+ rules.spaces_pol));
tableau_piles.push_back(static_cast<pile_ref>(piles.size() - 1));
}