From 3bf5a6fc83740b55b8462843a92c9a54e18f17a8 Mon Sep 17 00:00:00 2001 From: Luke Street Date: Sun, 13 Sep 2020 19:32:52 -0400 Subject: [PATCH] CDrone: GetDamageVulnerability fixes --- Runtime/MP1/World/CDrone.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Runtime/MP1/World/CDrone.cpp b/Runtime/MP1/World/CDrone.cpp index bf1dc319e..26326d90c 100644 --- a/Runtime/MP1/World/CDrone.cpp +++ b/Runtime/MP1/World/CDrone.cpp @@ -327,7 +327,8 @@ bool CDrone::CanRenderUnsorted(const CStateManager& mgr) const { const CDamageVulnerability* CDrone::GetDamageVulnerability(const zeus::CVector3f&, const zeus::CVector3f& dir, const CDamageInfo&) const { if (x3fc_flavor == EFlavorType::One && HitShield(-dir)) { - return &CDamageVulnerability::ImmuneVulnerabilty(); + x5e8_shieldTime = 1.f; + return &CDamageVulnerability::ReflectVulnerabilty(); } return CAi::GetDamageVulnerability(); }