Personal Shop Bug (June Files)
#3


52 minutes ago, Veni said:




oof i remember that i fixed this through switching some code to november.. UIArray? maybe?

one of these UI functions. I think I went through the entire UI searching for what is being used and something I changed made it work

Maybe I'm completely wrong tho.




You are completely right, thank you very much ?

UIArray.cpp

WMSG_RESULT CUIArray::OnLButtonDown(UINT16 x, UINT16 y)

    nMax = m_vecArrayChild.size();
    for (i = 0; i < nMax; ++i)
    {
        //if (m_vecArrayChild[i]->IsInside(x, y) == TRUE)
        if (m_vecArrayChild[i]->GetHide() == FALSE &&             //shop fix
            m_vecArrayChild[i]->IsInside(x, y) == TRUE)
        {
            SetSelectIdx(i);
            break;
        }
    }

 



Messages In This Thread
[No subject] - by Desarija - 03-27-2021, 01:15 PM
[No subject] - by Veni - 03-27-2021, 01:38 PM
[No subject] - by Desarija - 03-27-2021, 02:34 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)