[add] Golind delete

This commit is contained in:
kimnuri
2025-12-07 19:03:34 +09:00
parent 0581b41b6b
commit 6c47256943
13 changed files with 512 additions and 394 deletions
@@ -47,7 +47,7 @@ HRESULT CInfoInstance::Regist_PlayerAlly(CUnit* pUnit)
HRESULT CInfoInstance::Deregist_PlayerAlly(CUnit* pUnit)
{
if (nullptr == s_pInstance) {
if (nullptr == s_pInstance || nullptr == m_pMonsterInfo) {
return S_OK; // 게임 종료 된 상태
}
return m_pMonsterInfo->Deregist_PlayerAlly(pUnit);
@@ -60,7 +60,7 @@ HRESULT CInfoInstance::Regist_ActiveMonster(CMonster* pUnit)
HRESULT CInfoInstance::Deregist_ActiveMonster(CMonster* pUnit)
{
if (nullptr == s_pInstance) {
if (nullptr == s_pInstance || nullptr == m_pMonsterInfo) {
return S_OK; // 게임 종료 된 상태
}
return m_pMonsterInfo->Deregist_ActiveMonster(pUnit);