mirror of https://github.com/AxioDL/metaforce.git
CCompoundTargetReticle: Silence unused variable warning
This commit is contained in:
parent
b3d6901f56
commit
5f80504e6e
|
@ -349,7 +349,7 @@ void CCompoundTargetReticle::UpdateCurrLockOnGroup(float dt, const CStateManager
|
||||||
const TUniqueId targetId = mgr.GetPlayer().GetOrbitTargetId();
|
const TUniqueId targetId = mgr.GetPlayer().GetOrbitTargetId();
|
||||||
if (targetId != xf0_targetId) {
|
if (targetId != xf0_targetId) {
|
||||||
if (targetId != kInvalidUniqueId) {
|
if (targetId != kInvalidUniqueId) {
|
||||||
if (const TCastToConstPtr<CScriptGrapplePoint> point = mgr.GetObjectById(targetId)) {
|
if (TCastToConstPtr<CScriptGrapplePoint>(mgr.GetObjectById(targetId))) {
|
||||||
CSfxManager::SfxStart(SFXui_lockon_grapple, 1.f, 0.f, false, 0x7f, false, kInvalidAreaId);
|
CSfxManager::SfxStart(SFXui_lockon_grapple, 1.f, 0.f, false, 0x7f, false, kInvalidAreaId);
|
||||||
} else {
|
} else {
|
||||||
CSfxManager::SfxStart(SFXui_lockon_poi, 1.f, 0.f, false, 0x7f, false, kInvalidAreaId);
|
CSfxManager::SfxStart(SFXui_lockon_poi, 1.f, 0.f, false, 0x7f, false, kInvalidAreaId);
|
||||||
|
|
Loading…
Reference in New Issue