From fa401f86379b80b3ec20bfda76757558a1ae2858 Mon Sep 17 00:00:00 2001 From: expwnent Date: Fri, 7 Nov 2014 14:16:10 -0500 Subject: [PATCH] EventManager tweak. --- library/modules/EventManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/modules/EventManager.cpp b/library/modules/EventManager.cpp index ccdfa1db4..e3f47b13a 100644 --- a/library/modules/EventManager.cpp +++ b/library/modules/EventManager.cpp @@ -1034,7 +1034,7 @@ static void manageInteractionEvent(color_ostream& out) { continue; } //int32_t unitId = reportToRelevantUnits[report->id][0]; - bool isActor = type == df::announcement_type::INTERACTION_ACTOR; + bool isActor = attackerId == -1;//type == df::announcement_type::INTERACTION_ACTOR; if ( isActor ) { attackReport = report->id;