05-02-2021, 10:25 PM
OK guys this is the fix a friend (pwesty) gave me:
CharacterCreateNew::~CharacterCreateNew(void)
{
}
void CharacterCreateNew::SetJob ( int nSelIdx )
{
if (nSelIdx < 0 )
nSelIdx = TOTAL_JOB - 1; //remove ns
if (nSelIdx >= TOTAL_JOB - 1) //remove ns
nSelIdx = 0;
m_nSelectJob = nSelIdx;
m_nSelPrevJob = nSelIdx - 1;
m_nSelNextJob = nSelIdx + 1;
if (m_nSelPrevJob < 0)
m_nSelPrevJob = TOTAL_JOB - 1; //remove ns
if (m_nSelNextJob >= TOTAL_JOB - 1) //remove ns
m_nSelNextJob = 0;
}
void CharacterCreateNew::Reset()
{
m_nSelectJob = 0;
m_nSelPrevJob = TOTAL_JOB - 1;
m_nSelNextJob = m_nSelectJob + 1;
m_charName = CTString("");
m_bNSCreate= FALSE;

