Fix type cast in MxControlPresenter::FUN_10044270 (#1522)

This commit is contained in:
Christian Semmler 2025-05-26 09:45:06 -07:00 committed by GitHub
parent f7744f5550
commit 04b669cf96
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -77,7 +77,7 @@ void MxControlPresenter::EndAction()
MxBool MxControlPresenter::FUN_10044270(MxS32 p_x, MxS32 p_y, MxPresenter* p_presenter) MxBool MxControlPresenter::FUN_10044270(MxS32 p_x, MxS32 p_y, MxPresenter* p_presenter)
{ {
assert(p_presenter); assert(p_presenter);
MxStillPresenter* presenter = (MxStillPresenter*) p_presenter; MxVideoPresenter* presenter = (MxVideoPresenter*) p_presenter;
if (m_unk0x4c == 3) { if (m_unk0x4c == 3) {
MxStillPresenter* map = (MxStillPresenter*) m_list.front(); MxStillPresenter* map = (MxStillPresenter*) m_list.front();