[add] StatSystem

This commit is contained in:
kimnuri
2025-12-07 17:15:44 +09:00
parent cf8ea71f85
commit 0581b41b6b
25 changed files with 502 additions and 57 deletions
@@ -47,7 +47,7 @@ HRESULT CInfoInstance::Regist_PlayerAlly(CUnit* pUnit)
HRESULT CInfoInstance::Deregist_PlayerAlly(CUnit* pUnit)
{
if (nullptr == m_pMonsterInfo) {
if (nullptr == s_pInstance) {
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 == m_pMonsterInfo) {
if (nullptr == s_pInstance) {
return S_OK; // 게임 종료 된 상태
}
return m_pMonsterInfo->Deregist_ActiveMonster(pUnit);