Fix
This commit is contained in:
@@ -62,6 +62,10 @@ void CEnemy_Panel::Update_Target()
|
||||
static_cast<CUIObject*>(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<CBoss_HpBar*>(m_pBoss_HpBar)->Update_Target();
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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<CTransform>(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"),
|
||||
|
||||
Reference in New Issue
Block a user