diff --git a/Jusin154_Team3D/Client/Private/SpellLearn_Panel.cpp b/Jusin154_Team3D/Client/Private/SpellLearn_Panel.cpp index d0eab7597..b01e080f1 100644 --- a/Jusin154_Team3D/Client/Private/SpellLearn_Panel.cpp +++ b/Jusin154_Team3D/Client/Private/SpellLearn_Panel.cpp @@ -108,7 +108,7 @@ void CSpellLearn_Panel::Update(_float fTimeDelta) if (m_pGameInstance->Key_Down(DIK_M)) { - if (Index > m_Info.size() - 1) + if (Index >= m_pInfoInstance->Get_SpellLearnIndex() - 1) { Index = 0; }