diff options
| author | thecharlesblake | 2018-01-03 13:03:26 +0000 |
|---|---|---|
| committer | thecharlesblake | 2018-01-03 13:03:26 +0000 |
| commit | c70a063f407534ac3d8997b9f1bc58d23c9360b8 (patch) | |
| tree | 9c1f4dc83752de2f76768b351d4453b99cab6045 /src/main/game/game_state.cpp | |
| parent | Refactor sol_rules into seperate parser class (diff) | |
| download | metasol-c70a063f407534ac3d8997b9f1bc58d23c9360b8.tar.gz metasol-c70a063f407534ac3d8997b9f1bc58d23c9360b8.zip | |
Tidy up card class
Diffstat (limited to 'src/main/game/game_state.cpp')
| -rw-r--r-- | src/main/game/game_state.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
