mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 19:04:56 +00:00
Update hecl, fix CFlickerBat's targetable state being inverted
This commit is contained in:
@@ -88,11 +88,9 @@ void CFlickerBat::Think(float dt, CStateManager& mgr) {
|
|||||||
x42c_color.a() = alpha;
|
x42c_color.a() = alpha;
|
||||||
x94_simpleShadow->SetUserAlpha(alpha);
|
x94_simpleShadow->SetUserAlpha(alpha);
|
||||||
|
|
||||||
bool targetable = true;
|
xe7_31_targetable = (mgr.GetPlayerState()->GetCurrentVisor() == CPlayerState::EPlayerVisor::XRay
|
||||||
if (mgr.GetPlayerState()->GetCurrentVisor() != CPlayerState::EPlayerVisor::XRay &&
|
? true
|
||||||
(x574_state == EFlickerBatState::Visible || x574_state == EFlickerBatState::FadeIn))
|
: x574_state == EFlickerBatState::Visible || x574_state == EFlickerBatState::FadeIn);
|
||||||
targetable = false;
|
|
||||||
xe7_31_targetable = targetable;
|
|
||||||
CPatterned::Think(dt, mgr);
|
CPatterned::Think(dt, mgr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
2
hecl
2
hecl
Submodule hecl updated: de482c8fac...875a3fc1f2
Reference in New Issue
Block a user