Merge pull request #762 from fryguy503/green-flee

Allow Separate CON_GRAY Flee rate.
This commit is contained in:
Michael Cook (mackal)
2018-08-25 20:27:04 -04:00
committed by GitHub
5 changed files with 83 additions and 48 deletions
+1 -1
View File
@@ -1414,7 +1414,7 @@ void Merc::AI_Process() {
if(DivineAura())
return;
int hateCount = entity_list.GetHatedCount(this, nullptr);
int hateCount = entity_list.GetHatedCount(this, nullptr, false);
if(GetHatedCount() < hateCount) {
SetHatedCount(hateCount);