diff options
| author | Charlie Blake | 2018-07-03 14:51:07 +0100 |
|---|---|---|
| committer | GitHub | 2018-07-03 14:51:07 +0100 |
| commit | b7953f5b0a5d155fc87e9ec5b17525d9ac42c6b7 (patch) | |
| tree | e220211c8313be2b25f1aebf537ffbf4a352f1db /src/main/game/global_cache.cpp | |
| parent | Merge pull request #71 from thecharlesblake/correct-klondike (diff) | |
| parent | Tidy up stock rep and amend broken unit tests (diff) | |
| download | metasol-b7953f5b0a5d155fc87e9ec5b17525d9ac42c6b7.tar.gz metasol-b7953f5b0a5d155fc87e9ec5b17525d9ac42c6b7.zip | |
Merge pull request #72 from thecharlesblake/k-plus-stock
K plus stock
Diffstat (limited to 'src/main/game/global_cache.cpp')
| -rw-r--r-- | src/main/game/global_cache.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/game/global_cache.cpp b/src/main/game/global_cache.cpp index f688c33..2cec338 100644 --- a/src/main/game/global_cache.cpp +++ b/src/main/game/global_cache.cpp @@ -89,10 +89,10 @@ void cached_game_state::add_card(card c, const game_state& gs) { target.emplace_back(c); break; case pol::RED_BLACK: - target.emplace_back(c.get_colour(), c.get_rank()); + target.emplace_back(c.get_colour(), c.get_rank(), c.is_face_down()); break; default: - target.emplace_back(0, c.get_rank()); + target.emplace_back(0, c.get_rank(), c.is_face_down()); break; } } else { |
