From a01d7cdbba89fe1809c6b4f40c00e5b10a185937 Mon Sep 17 00:00:00 2001 From: hyunbin14 Date: Mon, 12 Jan 2026 16:24:59 +0900 Subject: [PATCH] Fix --- Jusin154_Team3D/Client/Private/Enemy_Panel.cpp | 4 ++++ Jusin154_Team3D/Client/Private/Level_GamePlay.cpp | 2 +- Jusin154_Team3D/Client/Private/ReparoObject.cpp | 4 +++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Jusin154_Team3D/Client/Private/Enemy_Panel.cpp b/Jusin154_Team3D/Client/Private/Enemy_Panel.cpp index abae5f8ce..6c770e327 100644 --- a/Jusin154_Team3D/Client/Private/Enemy_Panel.cpp +++ b/Jusin154_Team3D/Client/Private/Enemy_Panel.cpp @@ -62,6 +62,10 @@ void CEnemy_Panel::Update_Target() static_cast(m_pEnemy_Info)->Set_FadeOut(); return; } + + CStat* pStat = m_pInfoInstance->Get_TargetMonster()->Get_Stat(); + if (pStat == nullptr) + return; if (m_pInfoInstance->Get_TargetMonster()->Get_Stat()->Get_Stat().bBoss == true) { static_cast(m_pBoss_HpBar)->Update_Target(); diff --git a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp index f2a0c70c1..ecd17e9d8 100644 --- a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp +++ b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp @@ -1184,7 +1184,7 @@ HRESULT CLevel_GamePlay::Ready_Layer_Npc() { if(isRandomPosition) { - for (_uint i = 0; i < 11; i++) + for (_uint i = 0; i < 10; i++) { CRandomNpc::NPCDESC NPCDesc{}; _float X = m_pGameInstance->Real_Random_Float(22.f, 29.f); diff --git a/Jusin154_Team3D/Client/Private/ReparoObject.cpp b/Jusin154_Team3D/Client/Private/ReparoObject.cpp index 8dd6ca7c7..4d4282f25 100644 --- a/Jusin154_Team3D/Client/Private/ReparoObject.cpp +++ b/Jusin154_Team3D/Client/Private/ReparoObject.cpp @@ -194,7 +194,9 @@ HRESULT CReparoObject::Ready_Components() Desc.fRotationPerSec = XMConvertToRadians(180.0f); Desc.fRadius = 10.f; - __super::Ready_Components(&Desc); + if (FAILED(Add_Component(g_iStaticLevel, &m_pTransformCom, &Desc))) { + return E_FAIL; + } /* Com_Model */ if (FAILED(__super::Add_Asset_Component(g_iStaticLevel, TEXT("Prototype_Component_VFX_SK_OLI_TrollFight_BlockerA_Model"),