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"),