mirror of https://github.com/AxioDL/metaforce.git
Update hecl, fix CFlickerBat's targetable state being inverted
This commit is contained in:
parent
0af829c79d
commit
e855cbd902
|
@ -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
2
hecl
|
@ -1 +1 @@
|
|||
Subproject commit de482c8facd934f5d0a2a541b292af3f2b833b30
|
||||
Subproject commit 875a3fc1f23d00859f025176ff0c418ba5d5ebf0
|
Loading…
Reference in New Issue