From dbcb13d3c87133117bc54023c162ad0a202efa1d Mon Sep 17 00:00:00 2001 From: John Fultz Date: Tue, 2 Aug 2016 04:08:43 -0500 Subject: Fixes to allow bad endgames to be loaded from GCGs. Not perfect, but it now does a decent job of not corrupting GCGs when it loads one where players have messed up tile counts/drawing in the end-game. It also tries to annotate these for the player and in any GCG file that's round-tripped. Also, a lot of C++11-izing of ranged iterators. --- reporter.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'reporter.cpp') diff --git a/reporter.cpp b/reporter.cpp index 7054763..602dd8b 100644 --- a/reporter.cpp +++ b/reporter.cpp @@ -164,6 +164,7 @@ void Reporter::reportPosition(const GamePosition &position, ComputerPlayer *comp s << MARK_UV("pas"); break; case Move::UnusedTilesBonus: + case Move::UnusedTilesBonusError: case Move::TimePenalty: case Move::Nonmove: break; -- cgit v1.2.3