mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-30 11:19:51 +02:00
Fixed quartz colors due to missing Else before an If in graphics.c Thanks Savask. :D (I would have moved ifs around in a much less pleasant way @_@;)
This commit is contained in:
@@ -2066,7 +2066,7 @@ void draw_parts(pixel *vid)
|
|||||||
blendpixel(vid, nx, ny, cr, cg, cb, 255);
|
blendpixel(vid, nx, ny, cr, cg, cb, 255);
|
||||||
|
|
||||||
}
|
}
|
||||||
if(t==PT_LIFE && parts[i].ctype < NGOLALT){
|
else if (t==PT_LIFE && parts[i].ctype < NGOLALT) {
|
||||||
if (parts[i].ctype==NGT_LOTE)//colors for life states
|
if (parts[i].ctype==NGT_LOTE)//colors for life states
|
||||||
{
|
{
|
||||||
if (parts[i].tmp==2)
|
if (parts[i].tmp==2)
|
||||||
|
Reference in New Issue
Block a user