portal was invisible in debug, oops

This commit is contained in:
Cracker64 2011-01-12 13:22:27 -05:00
parent cc4489ff29
commit 6083b64b72

View File

@ -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;