mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-31 03:39:57 +02:00
portal was invisible in debug, oops
This commit is contained in:
@@ -1836,6 +1836,7 @@ void draw_parts(pixel *vid)
|
|||||||
}
|
}
|
||||||
else if(t==PT_PRTI && DEBUG_MODE)
|
else if(t==PT_PRTI && DEBUG_MODE)
|
||||||
{
|
{
|
||||||
|
blendpixel(vid,nx,ny, PIXR(ptypes[t].pcolors), PIXG(ptypes[t].pcolors), PIXB(ptypes[t].pcolors),255);
|
||||||
if(mousex==(nx) && mousey==(ny))
|
if(mousex==(nx) && mousey==(ny))
|
||||||
{
|
{
|
||||||
int z;
|
int z;
|
||||||
@@ -1850,6 +1851,7 @@ void draw_parts(pixel *vid)
|
|||||||
}
|
}
|
||||||
else if(t==PT_PRTO && DEBUG_MODE)
|
else if(t==PT_PRTO && DEBUG_MODE)
|
||||||
{
|
{
|
||||||
|
blendpixel(vid,nx,ny, PIXR(ptypes[t].pcolors), PIXG(ptypes[t].pcolors), PIXB(ptypes[t].pcolors),255);
|
||||||
if(mousex==(nx) && mousey==(ny))
|
if(mousex==(nx) && mousey==(ny))
|
||||||
{
|
{
|
||||||
int z;
|
int z;
|
||||||
|
Reference in New Issue
Block a user