diff options
| author | Charlie Blake | 2018-01-30 19:51:38 +0000 |
|---|---|---|
| committer | GitHub | 2018-01-30 19:51:38 +0000 |
| commit | 2fc005bdbb4707810ad0ae36a6863e70f0ff91b5 (patch) | |
| tree | 59ca3063ffe6a876d27c96ea95d6a3683273675a /src/main/input-output/output/state_printer.cpp | |
| parent | Merge pull request #31 from thecharlesblake/profiling-fix (diff) | |
| parent | Add ORDER_ON_CACHE to benchmark script (diff) | |
| download | metasol-2fc005bdbb4707810ad0ae36a6863e70f0ff91b5.tar.gz metasol-2fc005bdbb4707810ad0ae36a6863e70f0ff91b5.zip | |
Merge pull request #32 from thecharlesblake/piles-always-sorted
Piles always sorted
Diffstat (limited to 'src/main/input-output/output/state_printer.cpp')
| -rw-r--r-- | src/main/input-output/output/state_printer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/input-output/output/state_printer.cpp b/src/main/input-output/output/state_printer.cpp index 1d1c182..0fdacae 100644 --- a/src/main/input-output/output/state_printer.cpp +++ b/src/main/input-output/output/state_printer.cpp @@ -15,11 +15,11 @@ ostream& state_printer::print(ostream& stream, const game_state& gs) { } if (gs.rules.cells) { state_printer::print_header(stream, "Cells"); - state_printer::print_piles(stream, gs.cells, gs); + state_printer::print_piles(stream, gs.original_cells, gs); } if (gs.rules.tableau_pile_count > 0) { state_printer::print_header(stream, "Tableau Piles"); - state_printer::print_piles(stream, gs.tableau_piles, gs); + state_printer::print_piles(stream, gs.original_tableau_piles, gs); } if (gs.rules.reserve_size > 0) { if (gs.rules.reserve_stacked) { @@ -27,7 +27,7 @@ ostream& state_printer::print(ostream& stream, const game_state& gs) { } else { state_printer::print_header(stream, "Reserve"); } - state_printer::print_piles(stream, gs.reserve, gs); + state_printer::print_piles(stream, gs.original_reserve, gs); } if (gs.rules.stock_size > 0) { if (gs.rules.stock_deal_t == sdt::WASTE) { |
