1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-15 01:24:45 +02:00

Nullkiller: fix file headers, move fuzzy config to ai folder

This commit is contained in:
Andrii Danylchenko
2021-05-15 22:04:26 +03:00
committed by Andrii Danylchenko
parent 1d561b9882
commit ada76a5603
20 changed files with 412 additions and 284 deletions

View File

@ -1,3 +1,12 @@
/*
* DangerHitMapAnalyzer.cpp, part of VCMI engine
*
* Authors: listed in file AUTHORS in main folder
*
* License: GNU General Public License v2.0 or later
* Full text of license available in license.txt file, in main folder
*
*/
#include "StdInc.h"
#include "DangerHitMapAnalyzer.h"
@ -62,4 +71,4 @@ uint64_t DangerHitMapAnalyzer::enemyCanKillOurHeroesAlongThePath(const AIPath &
return info.fastestDanger.turn <= turn && !isSafeToVisit(path.targetHero, path.heroArmy, info.fastestDanger.danger)
|| info.maximumDanger.turn <= turn && !isSafeToVisit(path.targetHero, path.heroArmy, info.maximumDanger.danger);
}
}