From 22ac4f57a8aeacd25abb3466d6fa0ebe84b3f2b0 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Wed, 25 Oct 2023 05:34:20 -0400 Subject: [PATCH] Minor logic fix --- LEGO1/mxvideopresenter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LEGO1/mxvideopresenter.cpp b/LEGO1/mxvideopresenter.cpp index 8dbd21cf..7378b703 100644 --- a/LEGO1/mxvideopresenter.cpp +++ b/LEGO1/mxvideopresenter.cpp @@ -246,7 +246,7 @@ MxBool MxVideoPresenter::IsHit(MxS32 p_x, MxS32 p_y) (!m_bitmap && !m_alpha)) return FALSE; - if (m_bitmap) + if (!m_bitmap) return m_alpha->IsHit(p_x - GetLocationX(), p_y - GetLocationY()); MxLong heightAbs = m_bitmap->GetBmiHeightAbs();