Merge pull request #762 from fryguy503/green-flee

Allow Separate CON_GRAY Flee rate.
This commit is contained in:
Michael Cook (mackal) authored and GitHub committed 2018-08-25 20:27:04 -04:00
commit e816196edb
5 files changed
+83 -48

No files matched your search

+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);