From 00f879600bcea8f1ec1775c941041ee6346a60ba Mon Sep 17 00:00:00 2001
From: Clyne Sullivan <tullivan99@gmail.com>
Date: Tue, 28 Mar 2017 11:21:33 -0400
Subject: skirl can kill

---
 include/attack.hpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'include/attack.hpp')

diff --git a/include/attack.hpp b/include/attack.hpp
index ef67a79..0ab5138 100644
--- a/include/attack.hpp
+++ b/include/attack.hpp
@@ -13,11 +13,12 @@ enum class AttackType : char {
 };
 
 struct AttackEvent {
-	AttackEvent(vec2 p, AttackType at, int pow = 10)
-		: pos(p), type(at), power(pow) {}
+	AttackEvent(vec2 p, AttackType at, bool fp, int pow = 10)
+		: pos(p), type(at), fromplayer(fp), power(pow) {}
 
 	vec2 pos;
 	AttackType type;
+	bool fromplayer;
 	int power;
 };
 
-- 
cgit v1.2.3