From c70a063f407534ac3d8997b9f1bc58d23c9360b8 Mon Sep 17 00:00:00 2001 From: thecharlesblake Date: Wed, 3 Jan 2018 13:03:26 +0000 Subject: Tidy up card class --- src/main/game/game_state.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/game/game_state.cpp') diff --git a/src/main/game/game_state.cpp b/src/main/game/game_state.cpp index 14867f8..b45cc11 100644 --- a/src/main/game/game_state.cpp +++ b/src/main/game/game_state.cpp @@ -87,7 +87,7 @@ game_state::game_state(const sol_rules& s_rules, int seed) : // If there is a hole, moves the ace of spades to it if (rules.hole) { deck.erase(find(begin(deck), end(deck), card("AS"))); - piles[hole].place("AS"); + piles[hole].place(card("AS")); } // If there is a stock, deals to it and set up a waste pile too -- cgit v1.2.1