From e487f722c9c8cb7fcdee4283ea0278d9fca92a53 Mon Sep 17 00:00:00 2001 From: David Churchill Date: Sun, 27 Sep 2015 23:44:53 -0600 Subject: [PATCH] fixed debug print --- UAlbertaBot/Source/BOSSManager.cpp | 4 ++-- UAlbertaBot/Source/DistanceMap.hpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/UAlbertaBot/Source/BOSSManager.cpp b/UAlbertaBot/Source/BOSSManager.cpp index 7778bb78..801c38f1 100644 --- a/UAlbertaBot/Source/BOSSManager.cpp +++ b/UAlbertaBot/Source/BOSSManager.cpp @@ -138,11 +138,11 @@ void BOSSManager::update(double timeLimit) { if (_smartSearch->getResults().solutionFound) { - _previousStatus = std::string("\x03") + "BOSSSolve Solution\n"; + _previousStatus = std::string("\x03") + "BOSS Solve Solution\n"; } else { - _previousStatus = std::string("\x07") + "BOSSSolve NoSolution\n"; + _previousStatus = std::string("\x07") + "BOSS Solve NoSolution\n"; } } diff --git a/UAlbertaBot/Source/DistanceMap.hpp b/UAlbertaBot/Source/DistanceMap.hpp index f72e1ef4..4840c087 100644 --- a/UAlbertaBot/Source/DistanceMap.hpp +++ b/UAlbertaBot/Source/DistanceMap.hpp @@ -33,7 +33,7 @@ class DistanceMap , moveTo(std::vector(BWAPI::Broodwar->mapWidth() * BWAPI::Broodwar->mapHeight(), 'X')) , rows(BWAPI::Broodwar->mapHeight()), cols(BWAPI::Broodwar->mapWidth()), startRow(-1), startCol(-1) { - BWAPI::Broodwar->printf("New Distance Map With Dimensions (%d, %d)", rows, cols); + //BWAPI::Broodwar->printf("New Distance Map With Dimensions (%d, %d)", rows, cols); } int & operator [] (const int index) { return dist[index]; }