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:
committed by
Andrii Danylchenko
parent
1d561b9882
commit
ada76a5603
@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user