Update hecl, fix CFlickerBat's targetable state being inverted

This commit is contained in:
Phillip Stephens 2019-08-20 06:58:13 -07:00
parent 0af829c79d
commit e855cbd902
2 changed files with 4 additions and 6 deletions

View File

@ -88,11 +88,9 @@ void CFlickerBat::Think(float dt, CStateManager& mgr) {
x42c_color.a() = alpha;
x94_simpleShadow->SetUserAlpha(alpha);
bool targetable = true;
if (mgr.GetPlayerState()->GetCurrentVisor() != CPlayerState::EPlayerVisor::XRay &&
(x574_state == EFlickerBatState::Visible || x574_state == EFlickerBatState::FadeIn))
targetable = false;
xe7_31_targetable = targetable;
xe7_31_targetable = (mgr.GetPlayerState()->GetCurrentVisor() == CPlayerState::EPlayerVisor::XRay
? true
: x574_state == EFlickerBatState::Visible || x574_state == EFlickerBatState::FadeIn);
CPatterned::Think(dt, mgr);
}

2
hecl

@ -1 +1 @@
Subproject commit de482c8facd934f5d0a2a541b292af3f2b833b30
Subproject commit 875a3fc1f23d00859f025176ff0c418ba5d5ebf0