From 22ac7d809973cb40ee6c546b4bfe491b8d388aa0 Mon Sep 17 00:00:00 2001 From: Luke Street Date: Sat, 11 Apr 2020 02:09:58 -0400 Subject: [PATCH] CScriptCoverPoint: Fix GetAttackDirection return value --- Runtime/World/CScriptCoverPoint.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/World/CScriptCoverPoint.hpp b/Runtime/World/CScriptCoverPoint.hpp index 5b55aeb5b..2a62a12ca 100644 --- a/Runtime/World/CScriptCoverPoint.hpp +++ b/Runtime/World/CScriptCoverPoint.hpp @@ -46,7 +46,7 @@ public: float GetSinSqVerticalAngle() const; float GetCosHorizontalAngle() const { return xec_cosHorizontalAngle; } pas::ECoverDirection GetAttackDirection() const { - return xe8_30_attackDirection ? pas::ECoverDirection::Left : pas::ECoverDirection::Right; + return xe8_30_attackDirection ? pas::ECoverDirection::Right : pas::ECoverDirection::Left; } void Reserve(TUniqueId id) { xfa_occupant = id; } };