No black BIZR except by deco

This commit is contained in:
jacksonmj
2014-09-02 19:20:57 +01:00
parent 84f3f3cdba
commit ba31457701

View File

@@ -96,6 +96,8 @@ int Element_BIZR::graphics(GRAPHICS_FUNC_ARGS)
//BIZR, BIZRG, BIZRS
{
int x = 0;
if (cpart->ctype&0x3FFFFFFF)
{
*colg = 0;
*colb = 0;
*colr = 0;
@@ -109,6 +111,7 @@ int Element_BIZR::graphics(GRAPHICS_FUNC_ARGS)
*colr = *colr*624/x;
*colg = *colg*624/x;
*colb = *colb*624/x;
}
if(fabs(cpart->vx)+fabs(cpart->vy)>0)
{
*firea = 255;