Re-fixing some cppcheck issues. No whatsnew.

This commit is contained in:
Ryan Holtz 2010-04-03 21:06:43 +00:00
parent ceccc811e5
commit 041cb47232

View File

@ -745,16 +745,12 @@ bool Processor::ZCompare(void* fb, UINT8* hb, UINT16* zb, UINT8* zhb, UINT32 sz,
{ {
case 0: // Opaque case 0: // Opaque
return (max || (overflow ? infront : nearer)); return (max || (overflow ? infront : nearer));
break;
case 1: // Interpenetrating case 1: // Interpenetrating
return (max || (overflow ? infront : nearer)); return (max || (overflow ? infront : nearer));
break;
case 2: // Transparent case 2: // Transparent
return (infront || max); return (infront || max);
break;
case 3: // Decal case 3: // Decal
return (farther && nearer && !max); return (farther && nearer && !max);
break;
default: default:
fatalerror( "z_mode = %d", m_other_modes.z_mode); fatalerror( "z_mode = %d", m_other_modes.z_mode);
break; break;