mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-24 00:31:16 +00:00
Minor logic fix
This commit is contained in:
parent
044a58e0f1
commit
22ac4f57a8
@ -246,7 +246,7 @@ MxBool MxVideoPresenter::IsHit(MxS32 p_x, MxS32 p_y)
|
|||||||
(!m_bitmap && !m_alpha))
|
(!m_bitmap && !m_alpha))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
if (m_bitmap)
|
if (!m_bitmap)
|
||||||
return m_alpha->IsHit(p_x - GetLocationX(), p_y - GetLocationY());
|
return m_alpha->IsHit(p_x - GetLocationX(), p_y - GetLocationY());
|
||||||
|
|
||||||
MxLong heightAbs = m_bitmap->GetBmiHeightAbs();
|
MxLong heightAbs = m_bitmap->GetBmiHeightAbs();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user