From 7184364bcbf9c53bd48f1312c1b71682fb6093da Mon Sep 17 00:00:00 2001 From: Andrii Danylchenko Date: Sun, 16 May 2021 15:10:57 +0300 Subject: [PATCH] Nullkiller: disable logging and fix tbb build --- AI/Nullkiller/Engine/Nullkiller.cpp | 2 +- AI/Nullkiller/Pathfinding/AINodeStorage.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/AI/Nullkiller/Engine/Nullkiller.cpp b/AI/Nullkiller/Engine/Nullkiller.cpp index d6e6250c2..622a256bc 100644 --- a/AI/Nullkiller/Engine/Nullkiller.cpp +++ b/AI/Nullkiller/Engine/Nullkiller.cpp @@ -47,7 +47,7 @@ void Nullkiller::init(std::shared_ptr cb, PlayerColor playerID) new SharedPool( [&]()->std::unique_ptr { - return std::make_unique(this); + return make_unique(this); })); dangerHitMap.reset(new DangerHitMapAnalyzer(this)); diff --git a/AI/Nullkiller/Pathfinding/AINodeStorage.h b/AI/Nullkiller/Pathfinding/AINodeStorage.h index 368e6681a..cf9e910cc 100644 --- a/AI/Nullkiller/Pathfinding/AINodeStorage.h +++ b/AI/Nullkiller/Pathfinding/AINodeStorage.h @@ -11,7 +11,7 @@ #pragma once #define PATHFINDER_TRACE_LEVEL 0 -#define AI_TRACE_LEVEL 1 +#define AI_TRACE_LEVEL 0 #define SCOUT_TURN_DISTANCE_LIMIT 3 #define MAIN_TURN_DISTANCE_LIMIT 5