Previous 199869 Revisions Next

r24054 Wednesday 3rd July, 2013 at 15:17:31 UTC by Phil Bennett
Fix 'error: comparison of constant 4278190080 with expression of type 'pixel_t' (aka 'unsigned short') is always true' -nw-
[src/mame/drivers]seabattl.c

trunk/src/mame/drivers/seabattl.c
r24053r24054
267267         {
268268            m_collision |= 0x01;
269269         }
270         if ( S2636_IS_PIXEL_DRAWN(s2636_0_bitmap.pix16(y, x)) && (m_collision_bg.pix(y,x) > 8) && (m_collision_bg.pix(y,x) < 24) && (palette_get_color(machine(), m_collision_bg.pix(y,x) != RGB_BLACK)))
270         if ( S2636_IS_PIXEL_DRAWN(s2636_0_bitmap.pix16(y, x)) && (m_collision_bg.pix(y,x) > 8) && (m_collision_bg.pix(y,x) < 24) && (palette_get_color(machine(), m_collision_bg.pix(y,x)) != RGB_BLACK))
271271         {
272272            m_collision |= 0x02;
273273         }

Previous 199869 Revisions Next


© 1997-2024 The MAME Team